Initialize third parties

AppKickstarter comes with third parties integration to ship faster. Here you'll find how to setup the integrations or how to adapt if you don't want these integrations.

AdMob

If you want to support AdMob in your application you need to fill these infos In local.properties file :

# AdMob
admob_app_id_android=
admob_rewarded_ad_id_android=

admob_app_id_ios=
admob_rewarded_ad_id_ios=

You need to go on your AdMob account and create two applications: one for Android and one for iOS. Then create rewarded ads for both projects. Use these app ids and rewarded ads ids in local.properties.

Remove AdMob support

If you don't want to support AdMob you have to remove this line in the AndroidManifest.xml file:

<meta-data 
android:name="com.google.android.gms.ads.APPLICATION_ID" 
android:value="${admobAppId}" />

Remove dependency in shared module (build.gradle file)

api(libs.play.services.ads)

Remove this line on AppInitializer#initialize and all code related to AdMob

initAdMob()

Google Map

If you want to support Google Map fill the api key else just ignore.

# Google Map
google_map_api_key=

RevenueCat

Fill your api keys in local.properties

# RevenueCat
revenuecat_api_key_android=
revenuecat_api_key_ios=

If you don't want to setup RevenueCat simply do not fill the api keys in this file and just don't call the paywall and RevenueCat apis, this should be working.

Sentry

If you want to support Sentry fill the api key else just ignore.

# Sentry
sentry_dsn=

PostHog

To setup PostHog you just need to add the host and api key after you created the project on PostHog.

# PostHog
posthog_api_key=
posthog_host=

Google SignIn

To support Google login fill the web client id. You can find this value after you enabled Firebase Auth + Google auth:

# Google Sign in
google_sign_in_web_client_id=

AppKickstarter AI Backend Proxy

If you have the AI plan with KMP client that connects to the AI backend proxy you can fill these infos:

# AI Proxy
mobile_ai_api_hmac_secret_key=
mobile_ai_url=

Learn more here about the AI backend proxy and how AppKickstarter secures your API keys.

Last updated