-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
E/flutter (12153): [ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: LateInitializationError: Field '_file@1163133173' has not been initialized.
E/flutter (12153): #0 JSONBridge._file (package:json_bridge/src/json_bridge.dart)
E/flutter (12153): #1 JSONBridge.read (package:json_bridge/src/json_bridge.dart:63:9)
E/flutter (12153): #2 JSONBridge.get (package:json_bridge/src/json_bridge.dart:207:33)
E/flutter (12153): #3 JsonStorage.getAccessToken (package:flutter_feathersjs/src/config/storage.dart:85:25)
E/flutter (12153): #4 RestClient.reAuthenticate (package:flutter_feathersjs/src/rest_client.dart:73:38)
E/flutter (12153): #5 FlutterFeathersjs.reAuthenticate (package:flutter_feathersjs/src/featherjs.dart:137:45)
To Reproduce
Steps to reproduce the behavior:
- on Android device
- reAthenticate just after
initafter instance created
feathers.init(baseUrl: baseUrl);
feathers.client = ""; // Another bug. Without this autheticate won't work.
await reAuthenticate();- See error
Expected behavior
Authentication success or fail
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: Android Emulator
- OS: API 35
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working