andrewackerman / flutter_permissions_helper Goto Github PK
View Code? Open in Web Editor NEWA helper package for flutter mobile apps to request permissions from the host OS
License: Other
A helper package for flutter mobile apps to request permissions from the host OS
License: Other
Hello,
While trying to do a "pod install" on Mac OS X, i've got the following error:
flutter_permissions_helper
does not specify a Swift version and none of the targets (Runner
) integrating it have the SWIFT_VERSION
attribute set.Is in your plans set available some new release?
All the best.
Hi,
i am getting this exception when i run my app:
import android.support.v4.app.ActivityCompat;
^
symbol: class ActivityCompat
location: package android.support.v4.app
/Users/zubairehman/.pub-cache/hosted/pub.dartlang.org/flutter_permissions_helper-0.0.4/android/src/main/java/com/andrewackerman/flutterpermissionshelper/FlutterPermissionsHelperPlugin.java:11: error: package android.support.v4.content does not exist
import android.support.v4.content.ContextCompat;
^
/Users/zubairehman/.pub-cache/hosted/pub.dartlang.org/flutter_permissions_helper-0.0.4/android/src/main/java/com/andrewackerman/flutterpermissionshelper/FlutterPermissionsHelperPlugin.java:199: error: cannot find symbol
ActivityCompat.requestPermissions(activity, new String[] { manifest }, 0);
^
symbol: variable ActivityCompat
location: class FlutterPermissionsHelperPlugin
/Users/zubairehman/.pub-cache/hosted/pub.dartlang.org/flutter_permissions_helper-0.0.4/android/src/main/java/com/andrewackerman/flutterpermissionshelper/FlutterPermissionsHelperPlugin.java:204: error: cannot find symbol
int status = ContextCompat.checkSelfPermission(activity, manifest);
^
symbol: variable ContextCompat
location: class FlutterPermissionsHelperPlugin
/Users/zubairehman/.pub-cache/hosted/pub.dartlang.org/flutter_permissions_helper-0.0.4/android/src/main/java/com/andrewackerman/flutterpermissionshelper/FlutterPermissionsHelperPlugin.java:286: error: cannot find symbol
if (ActivityCompat.shouldShowRequestPermissionRationale(registrar.activity(), permission)) {
^
symbol: variable ActivityCompat
location: class FlutterPermissionsHelperPlugin
/Users/zubairehman/.pub-cache/hosted/pub.dartlang.org/flutter_permissions_helper-0.0.4/android/src/main/java/com/andrewackerman/flutterpermissionshelper/FlutterPermissionsHelperPlugin.java:289: error: cannot find symbol
if (ActivityCompat.checkSelfPermission(registrar.context(), permission) == PackageManager.PERMISSION_GRANTED) {
^
symbol: variable ActivityCompat
location: class FlutterPermissionsHelperPlugin
6 errors
*******************************************************************************************
The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.
*******************************************************************************************
Finished with error: Gradle task assembleDebug failed with exit code 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.