-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
impact: customerA bug with low impact (e.g. affecting only a few customers or has a workaround). (P3)A bug with low impact (e.g. affecting only a few customers or has a workaround). (P3)plugin: remote_configtype: bugSomething isn't workingSomething isn't working
Description
When initilising remote config this error is thrown.
The code
remoteConfig = await RemoteConfig.instance;
remoteConfig.setConfigSettings(RemoteConfigSettings(debugMode: true));
await remoteConfig.fetch(expiration: const Duration(seconds: 1));
await remoteConfig.activateFetched();
String stingified = remoteConfig.getString("app_questions");
The Error
Bad state: Future already completed
Output Flutter -v:
✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G95, locale en-GB)
• Flutter version 1.9.1+hotfix.2 at /Users/earyzhe/dev/SDKs/flutter
• Framework revision 2d2a1ffec9 (2 weeks ago), 2019-09-06 18:39:49 -0700
• Engine revision b863200c37
• Dart version 2.5.0
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/earyzhe/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.0, Build version 11A420a
• CocoaPods version 1.7.5
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 39.0.3
• Dart plugin version 191.8423
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] IntelliJ IDEA Community Edition (version 2018.3.4)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 33.2.2
• Dart plugin version 183.5901
[✓] VS Code (version 1.38.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.4.1
[✓] Connected device (3 available)
• Android SDK built for x86 • emulator-5556 • android-x86 • Android 9 (API 28) (emulator)
• Andrew's iPhone • 6aa0c9719a85c174869a09656237b42f23701a91 • ios • iOS 13.0
• iPhone 11 Pro Max • F7FDFDAF-B8D3-478B-AF97-927C3237EB43 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-0 (simulator)
• No issues found!
Prathik-Jain, marius-h, mateusfsilva, mayurdhurpate and danielvestergaard
Metadata
Metadata
Assignees
Labels
impact: customerA bug with low impact (e.g. affecting only a few customers or has a workaround). (P3)A bug with low impact (e.g. affecting only a few customers or has a workaround). (P3)plugin: remote_configtype: bugSomething isn't workingSomething isn't working