This PR implements the latest configurations in the FCM sample app. Sample app users can now modify settings such as cdpApiKey and track lifecycle events directly from the settings screen. (APN sample app changes are yet to be done)
Solution/Changes
New configurations added : cdpApiKey, app lifecycle event tracking
UI has been made similar to what Scott's loom suggested.
Though out of scope but to save time & efforts later I have added configurations such as CDN Host, API Host, Flush At and Flush interval with a save button. There is no action on save button yet, will create another ticket for this acceptance criteria.
The device token isn’t displayed yet because the feature hasn’t been added to the package, and in the sample app, it has been commented out to avoid unnecessary app crashes.
Linear ticket : https://linear.app/customerio/issue/MBL-445/update-setting-screen-to-use-latest-configurations
Problem/Context
This PR implements the latest configurations in the FCM sample app. Sample app users can now modify settings such as
cdpApiKey
and track lifecycle events directly from the settings screen. (APN sample app changes are yet to be done)Solution/Changes
cdpApiKey
, app lifecycle event trackingTesting
https://github.com/user-attachments/assets/bbf6fe71-b94f-4d26-a1fa-456eeade7a7a