jsonata_flutter

Last updated:

0 purchases

jsonata_flutter Image
jsonata_flutter Images
Add to Cart

Description:

jsonata flutter

JsonAta Flutter #
Instalation #
dependencies:
jsonata_flutter: ^0.0.2
copied to clipboard
Android #
Add Android dependency implementation "com.github.fast-development.android-js-runtimes:fastdev-jsruntimes-jsc:0.3.4"
Change the minimum Android sdk version to 21 (or higher) in your android/app/build.gradle file.
minSdkVersion 21
copied to clipboard
Setup of proguard to release builds: setup your android/app/proguard-rules.pro file
with the content bellow.

Remember to merge with another configurations needed for
others plugins your app uses.

#Flutter Wrapper
-keep class io.flutter.app.** { *; }
-keep class io.flutter.plugin.** { *; }
-keep class io.flutter.util.** { *; }
-keep class io.flutter.view.** { *; }
-keep class io.flutter.** { *; }
-keep class io.flutter.plugins.** { *; }
-keep class de.prosiebensat1digital.** { *; }
copied to clipboard
Also add these lines to your android -> buildTypes -> release section of android/app/build.gradle file:
minifyEnabled true
useProguard true

proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
copied to clipboard
Usage #
var jsonAta = JsonAta();
var result = await jsonAta.execute(
expression: "$.name",
jsonData: '{"name": "John Doe"}'
);
print(result); // Result: John Doe```
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.