离线策略: 1.通知用户 2.取消某些特性 3.缓存数据 4.存储用户行为
目前项目里手动实现不适合复杂的项目, 因为复杂的项目可能会要求
- optimistic updates
- retrying action
- conflict resolution
对于复杂项目可以使用实时数据库或者cloud(realme)
Authentication providers
- Amplify by amazon
- Firebase by google
- Auth0
react context 适合共享一些不常改变的小对象;
redux 适合共享一些经常改变的大对象;
push notification providers
- expo push notification service
- one signal
- firebase cloud MESSING
- Amazon simple notification service(sns)
expo push notification:
- register the app to get a token
- store token on the server
- send a notification
- handle received notification
AppIcon png 1024 * 1024 (expo build service 自动生成其他的) follow applw/android guidelines sharp-cli -> npx expo-optimize js lib
Error reporting tools sentry Bugsnag report errors attach diagnostic data identify users MOnitor releases
If you want to automate your app deployment, consider FastLane:
This blog posts shows how you can use Fastlane to deploy Expo apps: