Closed aseef17 closed 2 years ago
The issue relies at JSONSerialization for iOS. Please fix this asap
for iOS issue : check v 1.3.1
@aseef17
For Android Release: You need to update 3 things at your end before trying to release the app
Add abiFilters filters to it’s app.gradle file as below to support all kinds of emulators and devices
ndk {
abiFilters "armeabi-v7a"
}
Add signinconfiguration to it’s gradle file for release
signingConfigs {
release {
storeFile file(RELEASE_STORE_FILE)
storePassword RELEASE_STORE_PASSWORD
keyAlias RELEASE_KEY_ALIAS
keyPassword RELEASE_KEY_PASSWORD
// Optional, specify signing versions used
v1SigningEnabled true
v2SigningEnabled true
}
}
buildTypes {
release {
signingConfig signingConfigs.release
}
}
In gradle.properties file
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
android.useDeprecatedNdk=true
RELEASE_STORE_FILE=YOUR_STORE_FILE_PATH(replace this)
RELEASE_STORE_PASSWORD=password
RELEASE_KEY_ALIAS=key0
RELEASE_KEY_PASSWORD=password
Android
The SDK, when added to the Flutter project, works fine for Android on debug mode but crases the application on release mode. Following are the logs
Building the APK or running the application in release mode after removing the go_sell_sdk_flutter dependency works completely fine. This is reproducible on Flutter versions 1.17.5 and up (1.17.5, 1.20.0, 1.20.1 and 1.20.2).
iOS
The application builds and works in release mode but crashes as soon as i call GoSellSdkFlutter.sessionConfigurations method, the application crashes and throws the following error
I followed the code given in the example project:- https://github.com/Tap-Payments/gosellSDK-Flutter/blob/master/example/lib/main.dart
In regards to the iOS project, i suspect that it has something to do with the variables not being initialised in the swift code
But I'm not really sure. Please fix these issues as the application doesn't work on either iOS (in both release and debug) or Android (release). This is stopping us from releasing our application