-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi,
i can't get any data in callback of library listeners like setOnAttributionChangeListener, setOnDeeplinkResponseListener, ...
below you can see the code:
this._metrixConfig = new MetrixConfig(AppConfig.METRIX_API_KEY);
this._metrixConfig.setFirebaseId(AppConfig[`FIREBASE_${Platform.OS.toUpperCase()}_APP_ID`], AppConfig.FIREBASE_PROJECT_ID, AppConfig.FIREBASE_API_KEY);
this._metrixConfig.setStore(Config.VENDOR);
this._metrixConfig.setOnAttributionChangeListener((attributionModel) => {
this._metrixAttributionModel = attributionModel;
console.log('@@@', attributionModel)
});
this._metrixConfig.setOnReceiveUserIdListener((metrixUserId ) => {
console.log('@@@', metrixUserId)
});
Metrix.getSessionNum((sessionNum) => {
console.log('@@@', sessionNum)
});
Metrix.onCreate(this._metrixConfig);
setStore and setFirebaseId works and we can see the data in panel but listeners don't log any data !!
"@metrixorg/react-native-metrix": "^0.15.5",
"react": "16.11.0",
"react-native": "0.62.2",
Metadata
Metadata
Assignees
Labels
No labels