Exception in native call from JS
See original GitHub issueBefore I have submitted the issue
[x] I have read an installation guide
[x] I know that for an iOS I need to install pods because I’ve read the installation guide
[x] I have read a linking guide and checked that everything is OK like in manual linking guide
[x] I know that before using tipsi-stripe
I need to set options for my app as described in usage guide
The problem
Briefly describe the issue you are experiencing (or the feature you want to see added to tipsi-stripe
).
Running Android app causes a crash with the below image.
Exception in native call from JS
I have went through the docs and everything seems to be linked properly.
There was not much else inside the [installation docs](https://tipsi.github.io/tipsi-stripe/docs/installation.html.
I looked around and added
implementation "com.google.android.gms:play-services-wallet:16.0.1"
to my dependencies in /android/app/build.gradle
file.
Any idea how I could proceed from here?
I am not a native Android dev by any means so, perhaps something is out of date?
Environment
tipsi-stripe
version: 7.5.0- Android:
- OS version: MacOS 10.14.5
- React-Native version: 0.59.9
- (Android only)
com.google.firebase:firebase-core
version: 16.0.9 - (Android only)
com.google.android.gms:play-services-base
version: 16.1.0
For Android
, please provide the following sections from android/app/build.gradle
:
- android.compileSdkVersion: 28
- android.buildToolsVersion: 28.0.3
- android.defaultConfig.minSdkVersion: 16
- android.defaultConfig.targetSdkVersion: 28
- android.defaultConfig.multiDexEnabled true
Issue Analytics
- State:
- Created 4 years ago
- Comments:10
Top GitHub Comments
For me it was three things (pretty much a combo of some of the above):
<application>
tag inandroid/app/src/main/AndroidManifest.xml
:/android/app/build.gradle
put the following inside ofdependencies
:implementation 'com.google.android.gms:play-services-wallet:18.0.0'
androidPayMode
set like this:This version worked for me.
implementation "com.google.android.gms:play-services-wallet:16.0.0"
in dependencies in /android/app/build.gradle file.
and make sure you have put
<application> <meta-data android:name="com.google.android.gms.wallet.api.enabled" android:value="true" /> </application>
in AndroidManifest.xml