Last updated:
0 purchases
nimmsta sdk wrapper
Nimmsta SDK #
A Flutter wrapper of nimmsta sdk.
The only supported platform is Android as at the moment Nimmsta offers an SDK just for that platform.
Usage #
Add nimmsta_sdk: <version> to your pubspec.yaml
Add this values to your local.properties file:
nimmsta.username=<username>
nimmsta.password=<password>
copied to clipboard
Username and password are provided by Nimmsta (https://nimmsta.com/).
Modify your manifest adding
<application
...
android:theme="@style/NormalTheme">
<activity
...
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
...
copied to clipboard
Add this style in /res/values/styles.xml:
<?xml version="1.0" encoding="utf-8"?>
<resources>
...
<style name="NormalTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>
copied to clipboard
Add this to your app level gradle:
android {
...
packagingOptions {
exclude 'META-INF/*.kotlin_module'
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/INDEX.LIST'
exclude 'META-INF/io.netty.versions.properties'
}
}
dependencies {
...
implementation "androidx.appcompat:appcompat:1.2.0" /* TODO temporary dependency included to make Nimmsta SDK work */
}
copied to clipboard
Your layouts to be loaded on the device should be put in /res/raw directory
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.