-
Notifications
You must be signed in to change notification settings - Fork 199
Closed
Labels
Description
analytics-react-nativeversion: 2.1.11- React Native version: 0.68
- iOS or Android or both? iOS
I have an Expo app suing the latest SDK45 with React Native 0.68.
I'm creating the client like this:
const client = createClient({
writeKey: /* my key */,
debug: false,
trackAppLifecycleEvents: true,
trackDeepLinks: true,
});By using trackAppLifecycleEvents: true it automatically track lifecycle events like Application Opened.
To connect with customer.io I need to get context.device.token but I couldn't find how to set it up.
I saw this discussion but it seems that the middleware is for Android version.
Any idea how I could get the device token on a managed Expo app?