Producing APK
Build two APKs one with keeping the launcher intent filter for MainActivity and the other without keeping the launcher intent filter for MainActivity. While building and providing WinZO APK do the following changes for the main activity in the manifest file.
Keeping the launcher intent filter This is for Android 10 and above devices
Not keeping the launcher intent filter This is for Android 9 and below devices
Building Apk
Build two APKs with and without the launcher intent filters
Please include firebase crashlytics for crash tracking of the product.
Add Product Flavours in your app module build.gradle And WinzoSdk modules build.gradle
Analytics
Use WinzoSdk.connectToWinZO method to connect to WinZO. We Receive a WinZOClient in onConnectedToWinZO(winZOClient: WinZOClient)
callback use this client to log events winZOClient.logEvent("Log Dummy Event")
If we want to add parameters to an event pass a bundle in logEvent
method
Last updated