Install stringee-plugin from pub.dev by running the following command from the project root:
$ flutter pub add stringee_plugin
Check out plugin's documentation for more information.
The Stringee Android SDK requires some permissions from your AndroidManifest
android/app/src/main/AndroidManifest.xml
// for internet access
<uses-permission android:name="android.permission.INTERNET" />
// for storage access
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
ProGuard If your project uses ProGuard, you may have to add the following settings to the ProGuard configuration file to ensure Stringee builds correctly:
proguard-rules.pro
in your app/ dir
and insert inside:
-dontwarn org.apache.**
-keep class com.stringee.** { *; }
-keep class org.apache.** { *; }
android {
...
buildTypes {
...
release {
...
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
pod install --repo-update
.xcworkspace
Build Settings
tab -> Other linker flags
add $(inherited)
flagBuild Settings
tab -> Enable bitcode
select NO
Build Settings
tab -> Allow Non-modular includes in Framework Modules
select YES