flutter

A collection of 50 posts

flutter

Fixing `permissionhandler/PermissionUtils.java:370: error: cannot find symbol if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S && hasPermissionInManifest(context, null, permission )), symbol: variable S, location: class VERSION_CODES`

My app suddenly refused to run on my Android Emulator. The error was: Launching lib/main.dart on sdk gphone64 arm64 in debug mode... WARNING: [Processor] Library '~/.gradle/caches/modules-2/files-2.1/com.github.canardoux/flutter_sound_core/8.4.2/d794510c32a335c61b742367e24e84ea0b0995c8/flutter_

  • wafrat
flutter

Fixing `flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.4/ios/Classes/FLTFirebaseAuthPlugin.m:505:38: error: no known class method for selector 'credentialWithProviderID:IDToken:rawNonce:accessToken:'`

TLDRRun flutter clean. Long versionI got this error when compiling my app for iOS. A quick search pointed me to https://github.com/FirebaseExtended/flutterfire/issues/1679 from Dec 2019. Apparently firebase_auth: ^0.15.3 doesn't compile in iOS? I'm on 0.15.

  • wafrat