Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null check operator used on a null value #761

Open
YawarOsman opened this issue Jul 29, 2024 · 1 comment
Open

Null check operator used on a null value #761

YawarOsman opened this issue Jul 29, 2024 · 1 comment

Comments

@YawarOsman
Copy link

I have used the beta version of the package flutter_secure_storage_web: ^2.0.0-beta.1 and it works fine on localhost but when i host it on a locale network and try to access it through the ip address it shows this error:

Null check operator used on a null value

I just used write method to save the value:

  Future<void> setToken(String value) async {
    const storage = FlutterSecureStorage();
    await storage.write(key: 'token', value: value);
  }
@seealex
Copy link

seealex commented Aug 20, 2024

same to me.

flutter_secure_storage: ^9.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants