fyi
async-storage
fyi | async-storage | |
---|---|---|
13 | 37 | |
671 | 4,539 | |
3.3% | 0.8% | |
8.1 | 8.3 | |
8 days ago | 9 days ago | |
JavaScript | TypeScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fyi
-
Help regarding Expo & RN CLI
So i found out this client was using unimodules for a lot of his libraries. But unimodules has been deprecated and merged into expo now. So now I followed the instructions here, and it looks like I just have migrated my application into expo only as it(expo-upgrade) created created a .expo folder now and also bumped package.json libraries to latest versions.
-
🚀 New updates and improvements from Expo documentation this week
TLDR - Released new updates on EAS Update branch promotion flow deployment pattern to use a separate channel for each production runtime version release build: https://docs.expo.dev/eas-update/deployment-patterns/#branch-promotion-flow - Updates from Expo Modules API getting started guide: When importing a module in your app, you can now use relative paths: https://docs.expo.dev/modules/get-started/#using-the-module. You can still use absolute paths to import the module when creating it locally by using an additional configuration: https://github.com/expo/fyi/blob/main/absolute-path-expo-modules.md - EAS Build serves most dependencies & CocoaPods artifacts from a cache server for Android & iOS. However, in your project if you've ios directory & want cache Podlock.lock you can use paths property in eas.json: https://docs.expo.dev/build-reference/caching/#ios-dependencies - You can always look into EAS Build server infrastructure doc to learn more about the current configurations for Android and iOS build servers: https://docs.expo.dev/build-reference/infrastructure/ - With expo-updates, you can always check for updates manually if they are working or not. Check out the example: https://docs.expo.dev/versions/latest/sdk/updates/#check-for-updates-manually - Hermes apps use this debugging technique automatically when you open the debugger in Expo Go or a development build. For more in-depth info about check out the section on remote debugging: https://docs.expo.dev/guides/using-hermes/#can-i-use-remote-debugging-with-hermes - To add expo-updates to an existing React Native project, you need to configure your project. We recently updated the guide that works with latest React Native version: https://docs.expo.dev/bare/installing-updates/
-
Upgrading to Expo SDK 48 - Firebase analytics issue
I followed the instructions here: https://github.com/expo/fyi/blob/main/firebase-migration-guide.md
-
Unable to send push notifications with APN (Apple Push Notification Service) through Node server.
I got the DevicePushToken and sending APN push notification in the backend with Node, but I just couldn’t get it work in Expo (managed workflow). I followed exactly in docs which poorly documented and I also tried exactly like this.
-
Can't publish to Play Store
Has anyone had success with this tutorial from Expo? We've followed the steps here (https://github.com/expo/fyi/blob/main/creating-google-service-account.md), but in Step 8 ("Return to the API access page on the Google Play Console and ensure it shows your new service account. Click on Grant access for the newly added service account.") the service account just isn't listed.
-
Using Expo and Realm with expo-dev-client
This will create a prebuilt Expo app. That is, you'll see ios and android folders in your project and this won't be a managed Expo app, where all the native details are hidden and Expo takes care of everything. Having said that, you don't need to go into the ios or android folders unless you need to add some native code in Swift or Kotlin.
-
Build an Offline-First React Native Mobile App with Expo and Realm
Right now, Realm is not compatible with Expo Managed Workflows. In a managed Workflow Expo hides all iOS and Android native details from the JavaScript/React developer so they can concentrate on writing React code. Here, we need to prebuild our App, which will mean that we lose the nice Expo Go App that allows us to load our app using a QR code.
-
What is the core limitations of Expo for RN?
The smaller bundle size is also being worked on. Not quite sure what their timeline is, but I think it's pretty soon? See here: https://github.com/expo/fyi/blob/master/managed-app-size.md and/or watch this: https://www.youtube.com/watch?v=7E6zsRpfT4U
- Does Expo 41 (bare workflow) work with RN 0.64?
- How to reduce ReactNative app size?
async-storage
-
Unit Testing Expo Apps With Jest
\[@RNC/AsyncStorage\]: NativeModule: AsyncStorage is null. To fix this issue try these steps: • Rebuild and restart the app. • Run the packager with \`--reset-cache\` flag. • If you are using CocoaPods on iOS, run \`pod install\` in the \`ios\` directory and then rebuild and re-run the app. • If this happens while testing with Jest, check out docs how to integrate AsyncStorage with it: https://react-native-async-storage.github.io/async-storage/docs/advanced/jest If none of these fix the issue, please open an issue on the Github repository: https://github.com/react-native-async-storage/async-storage/issues 5 | import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; 6 | import { Platform } from 'react-native'; > 7 | import AsyncStorage from '@react-native-async-storage/async-storage';
-
State Management Nx React Native/Expo Apps with TanStack Query and Redux
Storage: redux-persist, @react-native-async-storage/async-storage
-
Is there a way to store things even if the app closes?
You want this: react-native-async-storage
-
Fullstack Developer here, just diving into React Native. For my first app do you think it would be better to use local storage or to build an api?
What do you mean by local storage? The browser based localStorage API does not exist by default in react-native. There is an analogue though... The most basic package that most people use, AsyncStorage is just a string based key-value store: https://github.com/react-native-async-storage/async-storage . It's very useful for anything simple. It also has a merge function which lets you automatically update stringified JSON objects without unpacking them and doing the modifications yourself.
- How to delete LocalStorage key/value pairs from Android phone?
- LocalStorage for React Native Expo app?
-
WhatsApp in React Native (part 3)
Android - SQLite
-
How to Mock and Test AsyncStorage in React Native
Since the original React Native AsyncStorage was deprecated, you may be using the community solution: react-native-async-storage. I would personally recommend it!
-
Any solution for this?
I think that you using a deprecated package to store your state. Verify if you are using https://github.com/react-native-async-storage/async-storage.
-
React vs React Native: How Different Are They, Really?
State management, orchestrating HTTP requests, synchronizing client and server state: all these things will apply to React Native. The differences will only arise when the device layer comes into play (for example, if you have to store data on the client, window.localStorage doesn’t exist, but AsyncStorage does.)
What are some alternatives?
expo - An open-source framework for making universal native apps with React. Expo runs on Android, iOS, and the web.
react-native-mmkv - ⚡️ The fastest key/value storage for React Native. ~30x faster than AsyncStorage!
realm-js - Realm is a mobile database: an alternative to SQLite & key-value stores
react-native-firebase - 🔥 A well-tested feature-rich modular Firebase implementation for React Native. Supports both iOS & Android platforms for all Firebase services.
expo-native-starter-kit - This starter kit let's you run expo and ejected app together. Which means you can add native modules to your code and still be able to take advantage of expo's development environment
redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development
Realm - Realm is a mobile database: a replacement for Core Data & SQLite
redux-persist - persist and rehydrate a redux store
read-it-later-maybe - Offline-First React Native Mobile App with Expo and Realm
rtk-query - Data fetching and caching addon for Redux Toolkit
Facebook - Used to integrate the Facebook Platform with your iOS & tvOS apps.
expo-storage - Simple way to store persistent data, which does not have size limitations of react-native async-storage.