I make a payment module with webview but I get an error.
in Android, I can't open a link as like intent://blabla
What should I do for this?
I wish I could get result from the payment module with webview
I treid to use expo-intent-launcher but It's not working for this
Related
react-native
I am Stuck can anyone tell me how to pass member id from API from one screen to another in react-native I have tried certain methods but I am not getting proper solution
You can use react-native-mmkv or React Native Async Storage to save your id in memory and load it.
I need to open the Instagram Direct Message from React Native app and send a text to a selected contact after opening in Instagram.
I already found the way to open Whatsapp and send a message to selected contact using:
Linking.openURL('whatsapp://send?text='+text);
Also I found this for Instagram which is not working:
Linking.openURL('instagram://library?OpenInEditor=1&LocalIdentifier=${identifier}');
Does anyone know how to do that? (I know there are some sharing tools but I don't need to use them)
I am developing an application for this new card machines that look like a smartphone, but inside my app I should call the card machine payment app and get a payment answer if it worked or not,
Would there be any way to do this to get the application response that was opened by my application?
I tried using Linking, but every time you open the app, it returns true, that is, it returns true because the app was opened, not the response that the app returns would be if the payment went well.
enter image description here
Thanks for the personal help but I did it, develop a module in react-native to call the application and get feedback by deepLinks thanks everyone follow her link
https://www.npmjs.com/package/react-native-deep-link-with-response
I want to run a react-native app. Before, it runs normally. An then when I add a sound and I run it again it show Undefined is not an object (evaluating 'RCTToastAndroid.SHORT')
I already open another stackoverflow question like this but it not resolve my problem
Looking at the error, even without any code from you, I have some assumptions.
You are probably trying to implement Android Toast in your app.
In the react-native docs there is an example of how to do it here and you are getting an error because of it.
Please Provide the full code where you are implementing it so we can get an proper solution.
By what you posted in your answer, there is some error in implementing Android's Toast.
OR
You have the Toast module implemented correctly, but your are in an IOS device and in you can't use Android's Toast in IOS.
If this is your case, you can try implementing something different to display and use react native Plataform.select to render the Toast in Android and something else in IOS.
I am using the Ti.admob module and it works fine for banner ads. However when i use video ads it does not work. Is there a way to make it work? Or any other module i can use in its place
You can use this module to display reward Video with Admob on Titanium : https://github.com/1dir1/admobrewarded
You can check a sample code here : https://github.com/1dir1/admobrewarded/blob/master/ios/example/app.js