1. Hot update
React Native official website solution
- Reactnative. Cn/docs/more – r…
App Center is a hot update service provided by Microsoft. Hot updates allow you to bypass the AppStore’s approval process and modify existing apps directly. For domestic users, we also recommend the Pushy hot update service provided by this website. Compared with CodePush, it provides all-Chinese documents and technical support, and the server deployment is faster in China. It also provides automatic differential update mode, greatly saving update traffic
Pushy
- website
- pushy.reactnative.cn/
- Publish hot updates – documentation
- Pushy. Reactnative. Cn/docs/publis…
- Paid hot updates
- New sign-ups will automatically receive a 7-day free trial evaluation of the Pro version. When it expires, it becomes a free version.
- The price list
- Pushy. Reactnative. Cn/pricing. HTM…
App Center
- website
- appcenter.ms/
A link to the
- Yangandmore. Making. IO / 2020/06/01 /…
- Cloud.tencent.com/developer/a…
- www.yisu.com/zixun/20240…
2. Local storage
- Permanent storage, data will not be cleared after closing the APP
- If you uninstall the APP directly, the data will not be cleared. You need to manually clear the data or log out of the APP
AsyncStorage
Have been abandoned
Please use one of these insteadCommunity software package.- The website address
- Reactnative. Dev/docs/asyncs…
AsyncStorage is an unencrypted, asynchronous, persistent, key-value storage system that is global to applications. It should be used instead of LocalStorage.
It is recommended that you use abstract AsyncStorage at the top rather than AsyncStorage directly for lightweight purposes, since it runs globally.
On iOS, AsyncStorage is supported by native code that stores small values in serialized dictionaries and large values in separate files. On Android, AsyncStorage will use RocksDB or SQLite depending on what is available.
Local storage community software packages
Local storage community package search address
- reactnative.directory/? Search = sto…
react-native-mmkv-storage star 691
- Community recommendation, based on Tencent MMKV, better read and write performance than SQLite, used by wechat
- High performance, performance optimization commonly used in MMKV
- website
- Github.com/ammarahm-ed…
- Storage without upper limit
- Github.com/Tencent/MMK…
react-native-async-storage star 3k
- Community recommendation, the number of users
- website
- Github.com/react-nativ…
- Storage is up to 6M and can be expanded, but is limited by SQLite
- The react – native – async – storage. Making. IO/async – stora…
SQLite
SQLite is a C language library that implements a small, fast, self-contained, highly reliable, fully functional SQL database engine. SQLite is the most widely used database engine in the world. SQLite is built into all phones and most computers, and bundled into countless other applications that people use every day.
-
website
- www.sqlite.org/
-
The react – native – sqlite – storage star 2.3 k
-
React Native SQLite3 Native plugin for Android (Classic and Native), iOS and Windows
-
Github.com/andpor/reac…
-
3. Perform offline operations and synchronize data
Synchronization period/Frequency (service)
- Real-time network detection, network smooth synchronization data
- User Manual Synchronization
- The system configures periodic synchronization
Refer to the link
- www.cnwangjie.com/blog/post/%…
- Impression of notes
- Dev.evernote.com/media/pdf/e…
- Chromium
- www.chromium.org/developers/…
- www.chromium.org/developers/…
- The solution
- shareDB
- PouchDB | CouchDB
- Impression of notes
- www.alloyteam.com/2019/07/web…
- The solution
- PouchDB
- Redux-Offline
- Redux is combined with IndexDB
- The solution
4. APP voice storage
react-native-audio Star 1.1 k
- Github.com/jsierles/re…
- Supported formats
- Android: aac, aac_eld, amr_nb, amr_wb, he_aac, vorbis
- No MP3 support, not supported on the underlying platform
react-native-recorder-player star 393
- Github.com/hyochan/rea…
- Supported formats
- lpcm, ima4, aac, MAC3, MAC6, ulaw, alaw, mp1, mp2, alac ,amr, flac, opus
- Github.com/hyochan/rea…
- No MP3 support, not supported on the underlying platform
The related content
- The React Native upload
- Github.com/joltup/rn-f…
- HUAWEI P30 Pro The default recording storage format is M4A
- Format conversion
- Github.com/a943999733/…
- Github.com/Radweb/reac…
5. Watermarking
- Mp.weixin.qq.com/s/DHlXmar1R…