Closed braydonburn closed 2 years ago
With Bubblewrap, you only need the first step to enable AppsFlyer feature and set the appsFlyerId
:
"features": {
"appsFlyer": {
"enabled": true,
"appsFlyerId": "xxx"
}
},
The steps in the AppsFlyer docs are for creating the integration manually - and the TWA used in their docs are outdated.
On a side note, we are not heavily promoting this and other features, as they are incompatible with Chrome OS - in that OS, when starting from the home screen, it will not trigger the Android code.
CC @ibrahimkarahan
Thanks @andreban. Do you know of any alternatives that will work with Chrome OS?
Any web analytics will work as expected for the web part of the application. Are you looking for something specific in terms of Android analytics SDKs? (eg: install referrer was the use-case I heard for AppsFlyer)
Yeah that's right - we're looking for something to fill in the missing gap of install referrer
This has been documented at https://github.com/GoogleChromeLabs/bubblewrap/tree/main/packages/cli#appsflyerconfig.
Yeah that's right - we're looking for something to fill in the missing gap of install referrer
HI! Did you find a tool for getting install referrer for TWA?
I'm currently trying to implement AppsFlyer into our bubblewrap TWA. I've noticed that @andreban added a commit to support the AppsFlyer SDK https://github.com/GoogleChromeLabs/bubblewrap/pull/278/files#diff-4db0ae3cf5a497bda3407532f94f2c474cb553f8e4d6161add886361991a25a9R24 but I can't find any documentation on how to use it
Following the documentation on Appsflyer https://support.appsflyer.com/hc/en-us/articles/360002330178-Using-AppsFlyer-with-TWA-and-PWA#inapp-events-with-twa-getting-the-appsflyer-id hasn't gotten me far
Steps I've completed:
appsFlyerId
/dev key tofeatures
list:build.gradle
fileAdded custom-tabs-client implementation to
app/build.gradle
- can no longer build, fails with 502}
// AppsFlyer imports https://support.appsflyer.com/hc/en-us/articles/360002330178-Using-AppsFlyer-with-TWA-and-PWA#inapp-events-with-twa-getting-the-appsflyer-id import android.support.customtabs.CustomTabsClient; import android.support.customtabs.CustomTabsIntent; import android.support.customtabs.CustomTabsServiceConnection; import android.support.customtabs.CustomTabsSession; import android.support.customtabs.trusted.TrustedWebActivityIntentBuilder; import static android.support.customtabs.TrustedWebUtils.EXTRA_LAUNCH_AS_TRUSTED_WEB_ACTIVITY