customerio / customerio-reactnative

MIT License
23 stars 11 forks source link

Android Device is not identified #223

Closed Bob-MYMC closed 9 months ago

Bob-MYMC commented 9 months ago

SDK version: 3.3.2

Environment: Development

    "react": "18.2.0",
    "react-native": "0.71.7",

Are logs available?

[19:30:58] I | ReactNativeJS ▶︎ Running "xxxxxx" with {"rootTag":91}

[19:30:58] I | ReactNativeJS ▶︎ 'CustomerIO', { siteId: 'siteId',
                             │ apiKey: 'apiKey',
                             │ region: 'EU',
                             │ organizationId: '' }, { logLevel: 4,
                             │ autoTrackDeviceAttributes: true,
                             │ enableInApp: true,
                             │ trackingApiUrl: '',
                             │ autoTrackPushEvents: true,
                             │ backgroundQueueMinNumberOfTasks: 10,
                             │ backgroundQueueSecondsDelay: 30,
                             └ pushClickBehaviorAndroid: 'ACTIVITY_PREVENT_RESTART' }

[19:30:58] I | ReactNativeJS ▶︎ [CodePush] Sync already in progress.

[19:30:58] I | ReactNativeJS ▶︎ [CodePush] Checking for update.

[19:31:06] I | ReactNativeJS ▶︎ [CodePush] App is up to date.

[19:31:14] I | ReactNative ▶︎ [GESTURE HANDLER] Initialize gesture handler for root view com.facebook.react.ReactRootView{40d7e58 V.E...... .......D 0,0-1080,2208 #5b}

[19:31:14] I | ReactNative ▶︎ [GESTURE HANDLER] Gesture handler is already enabled for a parent view

[19:31:43] I | ReactNativeJS ▶︎ 'CustomerIO.identify', '291123test001@xxx.com.au'

[19:31:43] I | ReactNativeJS ▶︎ 'getRegisteredDeviceToken', 'The device token is not available.'

[19:31:43] I | ReactNative ▶︎ [GESTURE HANDLER] Gesture handler is already enabled for a parent view

Describe the bug

To Reproduce

Expected behavior

Screenshots

Additional context

Bob-MYMC commented 9 months ago

After downgrade the google-service version, the sdk works

classpath 'com.google.gms:google-services:4.3.15'