在iOS中卸载应用程序时如何清除所有状态值?

时间:2019-10-23 11:07:07

标签: react-native react-navigation react-native-ios react-native-firebase redux-store

当我卸载我的应用程序时,我想删除我所有应用程序的本地状态值,因此遇到了问题。卸载应用程序后,我尝试再次安装该应用程序,并且再次使用了我以本地状态存储的所有用户状态!!!

info Fetching system and libraries information...
System:
    OS: macOS Mojave 10.14.6
    CPU: (4) x64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
    Memory: 2.71 GB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 12.4.0 - /usr/local/bin/node
    npm: 6.12.0 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.1, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
  IDEs:
    Android Studio: 3.5 AI-191.8026.42.35.5900203
    Xcode: 11.1/11A1027 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0 
    react-native: 0.61.2 => 0.61.2 
  npmGlobalPackages:
    react-native-cli: 2.0.1

这仅在iOS而不是android中发生

我希望在卸载我的应用程序时清除所有本地状态值

0 个答案:

没有答案