I want to schedule a notification for the user’s birthday. Right now I am trying to do that when he registers and he gives his date of birth. When he click “Register” I add the data to the database and also call this function to schedule his birthday using the date data that he provided: However this gives me this
Tag: expo
React Native app’s expo-sqlite callback not executed until app refresh
I have a simple app that makes a connection to a sqlite database, reads results from that database, and displays them. Here is the app: banana-dict.db is a preexisting database I’m using for this app. I’ve found that if I start the app and open it on my phone, the dicts state (ie, results of a query on the db)
I can’t figure out how to work with the object returned by Firebase get query
I’m building a React Native app with Expo and integrating Firebase (real time database) which I know has some limitations (https://docs.expo.dev/guides/using-firebase/). I’m trying to get a snapshot of the data using await get(query(… and have successfully done so, but I can’t figure out exactly what I’m working with. When I console.log it I get this: I was trying to return
How can I instantly load all my firebase entries without re-rendering?
Circumstances: For my app project that uses a realtime database I’m trying to load in data from all machines that are associated with the user. The machines that the user should see are dependent on the related company (cid) and which machines belong to that company. Problem: I have used the Firebase v9 docs as much as possible and have
How do I persuade babel to let me define a Javascript array of consts?
I’m building my first expo/react app. I keep getting an “Unexpected token” error message in App.js: the error being in the [ of the line beginning const. As best I can tell, this is a babel issue: this syntax was introduced in ES2015. AFAICS, this should be resolvable by adding @babel/preset-env to babel.config.js thus: Bundling succeeds, but the error remains!
Expo SDK 43, No suitable URL request handler found for ph-upload://
After upgrade Expo SDK version from 41.0.0 to 43.0.0 I got a problem with uploading images to server. Error description: No suitable URL request handler found for ph-upload://A354049E-57C1-4478-B5C0-1DF56886F1AD. What I have noticed is that in error description I see ph-upload:// but if I log my photo it contains this: “uri”:”ph://A354049E-57C1-4478-B5C0-1DF56886F1AD”,”name”:”IMG_3702.JPG”,”type”:”photo”. The difference is ph-upload:// and ph://. This is my code:
`Firebase` package was successfully found. However, this package itself specifies a `main` module field that could not be resolved
I’m trying to read and write to firestore, use firebase’s authentication, and firebase’s storage within a expo managed react-native application. Full Error: My firebase config file: I installed the firebase package with: Any help would be greatly appreciated. Thank you! Answer To reduce the size of the app, firebase SDK (v9.0.0) became modular. You can no longer do the import
bottom tabs how not to show name
I have app.js in which: I display the bottom tabs, but I see the navigation at the top that shows “Home” as with StackNavigator. I want there to be no true field Answer To Hide bottom tab label
Firebase Storage – Upload Image with React Native, Error loading Preview
This is the code which I use to upload images to firebase storage But when I check the firebase console it shows, error loading preview, and the file size is 9B for a image. Is there something Im missing. Im using Expo managed, expo-image-picker to select images. Answer I found a way, I had to create a blob and then
Using Expo AppLoading to preload data from firebase
I am trying to use AppLoading on Expo to preload data from firebase, before the app goes to the homepage. I keep receiving an error. “Error: could not find react-redux context value; please ensure the component is wrapped in a < Provider > ” what I have tried: any help would be greatly appreciated, I am still new to React