flutter_native_env

Last updated:

0 purchases

flutter_native_env Image
flutter_native_env Images
Add to Cart

Description:

flutter native env

flutter_native_env #
A flutter plugin getting android and iOS native env variables by calling ProcessInfo.processInfo.environment[] on iOS and System.getProperty() on android.
It can be used to easily fetch environment variables added during build or no-code testing, like flutter_is_waldo.
Usage #
Have a look on installation page.
import 'dart:async';
import 'package:flutter_native_env/flutter_native_env.dart';

String platformArch = await FlutterNativeEnv.getNativeEnv('os.arch', 'unknown', iosPropertyName: 'SIMULATOR_ARCHS'); // e.g. "x86_64"
copied to clipboard
You will find links to the API docs on the pub API reference page.

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.