Skip to content
Advertisement

Tag: react-native

React Native Linking SMS

Now that RN supports Linking cross-platform, I am wondering how to send an SMS with a preset message. Per the docs (https://facebook.github.io/react-native/docs/linking.html#content): Try to open the given url with any of the installed apps. You can use other URLs, like a location (e.g. “geo:37.484847,-122.148386”), a contact, or any other URL that can be opened with the installed apps. My question

Failure to call AppRegistry.registerComponent

I created a new project using react-native init Wevaha,after that I excute it work’s properly then I modified sample app based on my requirement again run it works properly but the next time while running the app I am gettingthe error like AppRegistry.registerComponent’ The screen shot attached below please find it Answer It is likely that you already have another

Using Decimals in React Native

I have a state as value: 10.00 and once I update it with some operation and add it to a <Text> the “.00” part gets trimmed off. If it was a value like 10.50, it’ll be displayed as 10.5 This is a issue as I want to display currency values. How to handle this? Answer Found the answer. To have

Advertisement