expo

react native link using expo?

ⅰ亾dé卋堺 提交于 2019-12-01 02:36:54
How can I use react-native link or How can I link a third party library manually in IOS and Android using exponent. I was trying to link react-native-image-crop-picker but unable to use in exponent. Michael Cheng You can't. It states this very clearly in the docs : But no native modules… The most limiting thing about Expo is that you can’t add in your own native modules without detaching and using ExpoKit. Continue reading the next question for a full explanation. If you want to use anything that requires react-native link , then you need to detach your project and then develop it with or

How can I add links in a Highcharts tooltip that will open on mobile's browser?

橙三吉。 提交于 2019-12-01 01:49:12
I am developing a React Native app with expo. One of the screens contains a graphic created with Highcharts. All points have an associated tooltip with some text, to which I would like to add a link that would open the URL in the browser (that is, outside the app). Very basically, the app code looks like this: import ChartView from 'react-native-highcharts'; render() { let Highcharts = "Highcharts"; let config ={ chart: { type: "line", animation: Highcharts.svg, ... tooltip: { followTouchMove: false, useHTML: true, formatter: function () { return `<div class="text">bla bla bla <a href="http:/

Convert base64 string to image in react native

落爺英雄遲暮 提交于 2019-12-01 01:43:15
问题 Problem I created a social media app with expo's react native, and wanted to add the ability to upload images. Since expo won't let you convert a file to a blob to upload, I just uploaded the base64 image data as a string to the server database. How can I convert this data into the viewable image again after I download the data from off of the server? 回答1: You can do this: var base64Icon = 'data:image/png;base64,iVBORw0KGgoAAAANS...'; <Image style={{width: 50, height: 50}} source={{uri:

React Native - navigation issue “undefined is not an object (this.props.navigation.navigate)”

为君一笑 提交于 2019-11-30 14:46:04
问题 Im following this tutorial https://reactnavigation.org/docs/intro/ and im running into a bit of issues. Im using the Expo Client app to render my app every time and not a simulator/emulator. my code is seen down below. I originally had the "SimpleApp" const defined above "ChatScreen" component but that gave me the following error: Route 'Chat' should declare a screen. For example: ...etc so I moved the decleration of SimpleApp to just above "AppRegistry" and that flagged a new error Element

React Native EXPO Apple upload fail [closed]

我的未来我决定 提交于 2019-11-30 12:16:31
问题 This post relates to a rapidly changing event. Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 9 months ago . I created the app through Expo. I uploaded the ipa through the Application Loader, and it was rejected as the message below. What is the problem? This bundle is invalid - The Info.plist file for /Payload/ExpoKitApp.app/FacebookSDKStrings.bundle is missing or could

React Native - navigation issue “undefined is not an object (this.props.navigation.navigate)”

倖福魔咒の 提交于 2019-11-30 12:03:44
Im following this tutorial https://reactnavigation.org/docs/intro/ and im running into a bit of issues. Im using the Expo Client app to render my app every time and not a simulator/emulator. my code is seen down below. I originally had the "SimpleApp" const defined above "ChatScreen" component but that gave me the following error: Route 'Chat' should declare a screen. For example: ...etc so I moved the decleration of SimpleApp to just above "AppRegistry" and that flagged a new error Element type is invalid: expected string.....You likely forgot to export your component..etc the tutorial did

React Native: Generate .apk and .ipa using Expo

我的未来我决定 提交于 2019-11-30 11:17:50
I'm trying to generate a .ipa and a .apk file for my React Native app using Expo & Create React Native App. I successfully built the app and was able to get it to run on both an iOS & an Android device thanks to the docs: https://docs.expo.io/versions/v16.0.0/guides/building-standalone-apps.html When the build is over, my console shows something like Your URL is https://exp.host/@myname/myapp I then open exp.host/@myname/myapp on my device and the app shows up via the Expo client. But at point 4 of the docs, it is said that When it’s done, you’ll see the url of a .apk (Android) or .ipa (iOS)

Cannot add task 'wrapper' as a task with that name already exists

百般思念 提交于 2019-11-30 10:40:29
when installing 'react-native init AwesomeProject' I am then met with the above error when running 'react-native run-android' Could not determine java version from '11.0.1'. a quick google suggests I need to update the distributionUrl in the Gradle-wrapper. Having done this I am faced with a new error Cannot add task 'wrapper' as a task with that name already exists. it suggests the issue is in the file: /AwesomeProject/android/build.gradle' line: 36 which looks like this task wrapper(type: Wrapper) { gradleVersion = '4.4' distributionUrl = distributionUrl.replace("bin", "all") } I've been

Does expo support firebase phone auth?

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-30 10:30:45
I am trying to implement firebase phone auth for expo. I have followed many resources on internet but succeeded. Could you please let me know is it possible/available? if it is possible please share some useful resources for expo thanking you for anticipation. I had the same problem, but I found the solution. So, how it works: We have special static "Captcha" web page, hosted on domain, that authorized on our Firebase project. It simply shows firebase.auth.RecaptchaVerifier . User resolves captcha and it gives token string from response of callback. On application login screen we show

Firebase Firestore missing or insufficient permissions using Expo (React Native)

不想你离开。 提交于 2019-11-30 09:29:07
I've been using FireStore for a project that works fine in the browser, but when I port the code to Expo, running on a iOS 11.2 iPhone X in the simulator, it keeps raising Error: Missing or insufficient permissions. Auth is working fine, and when I check the client in the Firestore collection object, the appropriate UID is set, and testing the same code in the browser, everything works perfectly (no permissions problem). What I'm trying to say is that I'm 95% certain that the issue is with the Firebase lib/react native/expo combination, rather than with my code. Especially since it seems that