react-native-async-storage / async-storage

An asynchronous, persistent, key-value storage system for React Native.
https://react-native-async-storage.github.io/async-storage/
MIT License
4.73k stars 467 forks source link

IOS Backup data #717

Closed guiguil81 closed 2 years ago

guiguil81 commented 2 years ago

What happened?

Hello !

I'am trying to used android and ios backup. For android i change AndroidManifest.xml: android:allowBackup="false to android:allowBackup="true

For testing Android backup:

So it's work on Android.

Now i try this on IOS devices. I modify my info.plist and add this:

<key>RCTAsyncStorageExcludeFromBackup</key>
<false/>

For testing IOS backup:

Why IOS doesn't works ?

I try also this method with testFlight but have same problem :/

Some People have fix this Issue ?

Version

^1.15.4

What platforms are you seeing this issue on?

System Information

"dependencies": {
    "@ptomasroos/react-native-multi-slider": "^2.2.2",
    "@react-native-async-storage/async-storage": "^1.15.4",
    "@react-native-community/datetimepicker": "^3.4.7",
    "@react-native-community/masked-view": "^0.1.11",
    "@react-native-community/push-notification-ios": "^1.8.0",
    "@react-native-picker/picker": "^1.16.3",
    "@react-navigation/bottom-tabs": "^5.11.10",
    "@react-navigation/native": "^5.9.4",
    "@react-navigation/stack": "^5.14.4",
    "@rnhooks/keyboard": "0.0.3",
    "@types/lodash": "^4.14.169",
    "@types/react-native-loading-spinner-overlay": "^0.5.2",
    "@types/react-native-push-notification": "^7.3.0",
    "@types/react-redux": "^7.1.16",
    "@types/seamless-immutable": "^7.1.15",
    "axios": "^0.21.1",
    "buffer": "^6.0.3",
    "events": "^3.3.0",
    "i18next": "^20.2.2",
    "js-validate-type": "^1.0.1",
    "lodash": "^4.17.21",
    "lzutf8": "^0.6.0",
    "moment": "^2.29.1",
    "ramda": "^0.27.1",
    "react": "17.0.1",
    "react-i18next": "^11.8.15",
    "react-native": "0.64.0",
    "react-native-appstate-hook": "^1.0.5",
    "react-native-camera": "^3.43.6",
    "react-native-document-picker": "^5.2.0",
    "react-native-file-access": "^1.7.1",
    "react-native-gesture-handler": "^1.10.3",
    "react-native-loading-spinner-overlay": "^2.0.0",
    "react-native-modal": "^11.10.0",
    "react-native-permissions": "^3.0.3",
    "react-native-push-notification": "^7.3.1",
    "react-native-qrcode-scanner": "^1.5.4",
    "react-native-reanimated": "^2.1.0",
    "react-native-safe-area-context": "^3.2.0",
    "react-native-screens": "^3.1.1",
    "react-native-share": "^6.2.1",
    "react-native-svg": "^12.1.1",
    "react-native-webview": "^11.6.5",
    "react-redux": "^7.2.4",
    "redux": "^4.1.0",
    "redux-persist": "^6.0.0",
    "reduxsauce": "^1.2.0",
    "rn-fetch-blob": "^0.12.0",
    "seamless-immutable": "^7.1.4",
    "zipson": "^0.2.12"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "@babel/runtime": "^7.12.5",
    "@react-native-community/eslint-config": "^2.0.0",
    "@testing-library/jest-native": "^4.0.1",
    "@testing-library/react-native": "^7.2.0",
    "@types/jest": "^26.0.23",
    "@types/node": "^15.0.2",
    "@types/react-native": "^0.64.0",
    "@types/react-test-renderer": "^16.9.2",
    "babel-jest": "^26.6.3",
    "babel-plugin-module-resolver": "^4.1.0",
    "eslint": "^7.14.0",
    "jest": "^26.6.3",
    "metro-react-native-babel-preset": "^0.64.0",
    "react-test-renderer": "17.0.1",
    "ts-jest": "^26.5.6",
    "typescript": "^3.8.3"
  },

Steps to Reproduce

For testing IOS backup:

github-actions[bot] commented 2 years ago

This issue has been marked as stale due to inactivity. Please respond or otherwise resolve the issue within 7 days or it will be closed.