Appsflyer integration - out of store apk with React Native - react-native

I am trying with Appsflyer out of store apk integration with React Native, I have followed below mentioned steps -
Added app on Appsflyer account with com.reactnativetest package and 9apps_int as channel name.
Integrated react-native-appsflyer SDK in my React Native App, following the react-native-appsflyer documentation.
Have added initSDK with debug mode true and trackEvent Method in the code.
Have debug the app on phone, and I got the success response from initSDK and trackEvent.
Now when I look at the Appsflyer dashboard, it gives me "0" Organic & Non-Organic Install and there is no event also tracked in the dashboard.
I have also done the testing with AppsFlyer Integration Testing App, by whitelisting my device and testing the app again, but same result.
Please help me where I am wrong in this?
Do I need to upload the app on any store except play store/App store before testing, can't I test the app installs in debug mode?
Please help.
Thanks.

Did you also test with URL with media and campaign?
http://app.appsflyer.com/com.greatapp?pid=test&c=campaign_test_1&
I suppose at this stage it's easier to upload the app to the stores, you can always pull it back.

Related

Expo Push Notification

I am using Expo Push Notification. I proceeded according to the instructions on the Expo site expo-push-notifications, but I realized that in order to receive the Expo Push Token, we must have an Expo account, and before running the project, we must log in to our account using the Expo Login command and then run the project.My question is, when the build project is taken out and put into production mode, do these services still work properly or do we have to apply certain settings and the Expo site tips are only for the development phase? I am a beginner in developing React Native programs and I have no special experience in this field. Please share your experiences with Expo Push Notification with me. Thanks.
When you build your app on Expo servers for example by expo build:ios command, it is handled by Expo services, but if you decided to build your app through, for example, Github Actions, you have to deliver APN keys to Expo by your own through expo credentials:manager. On your Expo account are stored credential files to use by Expo PUSH Broadcaster, so this connection between the app and your account is required.
Here you can find more details about signing your applications:
https://docs.expo.io/distribution/app-signing/#push-notification-keys

Can we use Realm in React Native project with Expo?

I am making a Mobile app in React Native with Expo.
Now I am thinking that I will use Realm to manage state in my project.
However, I am not sure that I can use Realm on Expo or not.
Expo is quite useful to create React Native Mobile Apps easily and quickly, but sometimes there are some conflict with some modules and libraries.
So, could you teach me that Realm can work on Expo or not?
Thank you,
Update 24 Jan 2022
The feature request was marked as Complete today.
I can confirm that Realm works with custom dev clients.
Here is an expo/example you can use to get started today --courtesy of the Realm team.
We won't be adding Realm to the Expo Go app (that you download from the App Store or Google Play Store) since we are limiting the amount of native third-party services that we include by default.
Update 2 July 2021
The feature request has been marked it as In Progress by the Expo team.
https://expo.canny.io/feature-requests/p/realm
It should be included as part of a custom development client, you can read more about custom development clients here https://blog.expo.dev/introducing-custom-development-clients-5a2c79a9ddf8
Previous answer
From the realm docs
Expo does not support Realm
Unfortunately, Expo does not support Realm. If you use the Expo CLI or create-react-native-app to create your React Native project, you will need to "eject" your Expo project to use Realm. The installation steps on this page do not use the Expo CLI.
https://docs.mongodb.com/realm/sdk/react-native/install/
It has been a feature request for expo since 2017 https://expo.canny.io/feature-requests/p/support-for-realm
Finally, Expo now works with realm.
Expo Announcement
Guide
not yet
you can check for support state from here:
https://expo.canny.io/feature-requests/p/support-for-realm
Yes, Expo now has a way of doing this using Custom Dev clients. Here is an example app from the Realm team.
https://github.com/expo/examples/tree/master/with-realm
You can also see this request is marked as complete on the Expo feature request site.
https://expo.canny.io/feature-requests/p/realm

React Native application deployment

I have already developed a React native application on my mac book, this is myfirst application. I want to deploy it to iPhone so that I can test it. I don't want to put it on appstore yet. I am not sure how to compile the application and get it ready to put it on iPhone. I tried this web site
https://www.diawi.com/, but not sure which .ipa or a.pk file, I need to upload. I can also try using expo, but not sure how to use it. Can anyone give me step by step instruction on how to upload this application on iPhone.
any help will be greatly appreciated.
For iPhone
For react-native-init you will probably need Apple developer account to test your app on your phone
Since you are using react-native-init, You should checkout this article by Facebook
https://facebook.github.io/react-native/docs/running-on-device
In the second point, it says Register for an Apple developer account if you don't have one yet
For create-react-native-app you need to do following
Download expo client from App store
Scan the QR code expo generate when you run your app using terminal (npm run start in terminal )
Note: Both Laptop and your phone should be on the same network
According to this thread, You can't use expo with react-native-init but alternatively you can create an expo project using create-react-native-app and then copy, paste files from your init project
For Android
For running your App on Android, You can directly generate/build an apk, send it to your device and just open it to see how it works (In Android you don't need a console or developer account to run your app)
Again, Open this link https://facebook.github.io/react-native/docs/running-on-device
And click on Android Tab to see how you can generate an Apk

React Native Paypal Integration For Android

I want to integrate Paypal SDK into an android application that I’ve created with React Native. I have used sharafat/react-native-paypal which is forked from MattFoley/react-native-paypal (MattFoley’s package is not updated anymore). It works on emulator without a problem, but when I create an apk, the app won’t open.
We want either an easy solution to the error in our current application

Where's the build_type configured in React Native Sentry

I'm using the Sentry SDK for React Native. In every report I can find a parameter Build Type in the App section. Unfortunately the value is either simulator or test. I'd expect something like release in my released application.
Does anyone know where this parameter is configured for an iOS application?
This parameter will be set automatically from KSCrash
It's app store for apps that have a receipt,
it's test for ad hoc builds, and simulator for yeah you guessed it, simulator builds xD
There is also debug for builds directly on the device.
see:
https://github.com/kstenerud/KSCrash/blob/64229cfa482d135c109dc3c66db7b30d1da855fc/Source/KSCrash/Recording/Monitors/KSCrashMonitor_System.m#L454-L473