Comments (4)
@SMJ93 hi, I tried to run AppsFlyer pod on demo and it works as expected.
regards to your env. : you use react-native: 0.37.0
but react-native-cli: 1.0.0
looks old. Today we have react-native-cli: 2.0.1
. But before upgrade try to run the demo:
from plugin root run (clone it first from git repo):
$ npm run setup
$ npm run ios-pod
$ npm run demo.ios
let me know how it works on your side.
from appsflyer-react-native-plugin.
@af-fess, thanks for the quick response. I have tested the demo project and it works for me.
I updated cli to react-native-cli: 2.0.1
, reinstalled the plugin from scratch and still no luck.
from appsflyer-react-native-plugin.
@af-fess Finally. I managed to get this working. The problem is with the init
example in the docs: https://github.com/AppsFlyerSDK/react-native-appsflyer.
It says:
let options = {
devKey: 'WdpTVAcYwmxsaQ4WeTspmh',
appId: "975313579",
isDebug: true
};
appsFlyer.initSdk(options, (error, result) => { <------- HERE IS THE PROBLEM
if (error) {
console.error(error);
} else {
//..
}
})
The function should be replaced with:
appsFlyer.initSdk(options,
(result) => {
console.log(result)
},
(error) => {
console.error(error);
}
)
from appsflyer-react-native-plugin.
@SMJ93 right, we will update Docs, good catch
from appsflyer-react-native-plugin.
Related Issues (20)
- CocoaPods Issue when trying to use the latest version of Appsflyer 6.13.0 HOT 2
- How to configure "Send SKAN postback" with react-native plugin HOT 5
- Generate Invite link is locating go.onelink.me HOT 5
- Support for new architecture and bridgeless
- privacy manifest for third part sdk HOT 9
- deep link is not working in case user is redirect through app store to install app HOT 8
- redefinition of 'SUCCESS' as different kind of symbol HOT 3
- Unable to run in Expo Go workflow HOT 2
- appsFlyer.onDeepLink not being triggered in a specific case HOT 1
- Track uninstalls with expo without ejecting
- Expo - Cannot read properties of undefined (reading 'shouldUseStrictMode') HOT 3
- 6.14.3 breaking android change HOT 6
- how to disable ATTUserAuthorization HOT 1
- [Android] Google Play Services is missing com.google.android.gms.ads.identifier.AdvertisingIdClient HOT 1
- iOS development build crashing with invalid memory access HOT 2
- Crash in ios
- SDK Integration Tests Failed but show Success in terminal
- Fix Expo support on Android HOT 3
- Onelink not working in IOS 17.3
- Add namespace to build.gradle so that Gradle can build HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appsflyer-react-native-plugin.