What Application type of Google Oauth when developing React-Native app - react-native

I'm working on React-Native app and my application should be working on both IOS and Android Platform. I need to add feature of signing through Google. So which application type should I choose on create client id page?

Related

How to generate a reCAPTCHA site key for React Native app

I'm trying to add reCAPTCHA to my react native app. I'm using GCP's React Enterprise, but their docs specify website, iOS app, or android app for the key's platform type. Will the site key for an iOS or android app work in my React Native app? If not, how would I generate the site key that works with React Native?
According to my research, React Native is well integrated when it comes to Google Recaptcha. I think your question is more related to the mobile apps than the integration of both services.
Will the site key for an iOS or android app work in my React Native app?
That depends on the type of key that you choose to use, reCAPTCHA Enterprise provides score-based (no challenge) and checkbox (checkbox challenge) site keys to verify user interactions on your web pages and mobile applications. Both key types return a score for each request, which is based on interactions with your site or application. This score lets you understand the level of risk that the interaction poses and helps you to take appropriate actions for your site or application.
If you use the Score-based site key (recommended), it will be supported by websites and mobile platforms, unlike the Checkbox site key, which only supports websites. Link
How would I generate the site key that works with React Native?
In the official documentation, they have a tutorial about Create site keys for mobile applications, and they mention that you can create only score-based site keys for mobile applications.
This is the link.

How to login to Facebook using react native for web platform

I'm trying to figure out how to implement a facebook login via a react-native for a web app. I can find lots of info on how to do this for IOS and Android, but nothing for a web app. I created my project using expo and also installed firebase, but I can't find enough info to tie all this together for a web app. I don't think it will matter, but I'm also using typescript. I would provide some code, but I can't even find a solution that compiles at this point.

Do Native apps have access to HTML5 API's

I am building a language translation flashcard web app. I will have a PWA version on the website and then a native app in the Play Store and Windows Store.. maybe even Apple Store eventually. First time looking to build a native app or pseudo native app.
The app currently uses the Web Speech API and Voice Recognition API in HTML5. These API's have support on Chrome and Android Web Browser. It appears they are in progress for Firefox and some other browsers.
Since the best functionality of the app is built upon these browser based API's..
I am wondering if I choose to use Vue Native instead of Cordova/Phonegap, how is it possible to access these HTML5 APIs natively or is there a native solution?

Using AWS for android and iphone applications

I'm trying to set up environments for my companies iphone, android, and web applications. Is AWS compatible to use if it is coded in Obj-C and the android app is in javascript but not react?
You can check this link
https://aws.amazon.com/mobile/resources/
For ios sdk on github
https://github.com/aws/aws-sdk-ios
And javascript sdk is
https://aws.amazon.com/documentation/sdk-for-javascript/
Getting started dev guide :
https://docs.aws.amazon.com/aws-mobile/latest/developerguide/getting-started.html
PS:You should always secure credentials for making these

How to Launch/Open any other external app from hybrid app? [duplicate]

I have a requirement to open the native version of the hybrid app (.ipa/.apk/.appx) when the hybrid app is requested in a device browser.
I am able to detect the environment using WL.Client.getEnvironment(); method, if it is found to be Android/iPad, I want to launch the respective .apk/.ipa file in the device. Any help is appreciated.
Re-reading this question and the comments several times... I still do not understand the actual scenario... it'd be best to rephrase it.
Scenario: How to open an app from the web browser:
If you have added the following environments to your Worklight application:
Mobile Web
Android
iPhone
And when visiting the Mobile Web version of your app, you want to display a message like "For the full experience, open the full application by clicking here".
Then:
It is implied that the user already has the application installed.
If it is not installed, you need to take care of that somehow
The way to handle this scenario is to use URI schemas:
For Android: How to implement my very own URI scheme on Android
This means that after adding the custom URI schema to AndroidManifest.xml, you could then detect the device OS the Mobile Web app is currently running on and display a custom link: myapp://<the URI schema you've defined>. Tapping it will open the app installed on the device.
For iOS, in a similar fashion: https://coderwall.com/p/mtjaeq
Also see: http://wiki.akosma.com/IPhone_URL_Schemes
Alternate solution: If you are not sure if the app will be installed or not, then instead of using URI schemas you can always point to either Google Play or Apple App Store, to the app page; the user will then have either a "Open" or "Install" link.
Scenario: How to open an app from my own app
If you have a Worklight Hybrid application (Mobile Web is not a Hybrid application), and you want to open another application from within it, you can:
Use the same approach of URI schemas, or
Use Cordova plug-ins
I have created this Worklight 6.1.0 project to demonstrate:
Android - How to open, for example, the Android Settings app from your Worklight Hybrid app
iOS - How to check if Waze is installed and open it, and if it is not installed then to open Apple Maps instead.
See instructions.txt in the apps\test folder.
Are you asking that if the user via their device browser hits the webapp version of your app on the internet, the website will ask the user to fire up the native app on their device? kind of like what ebay does?
if that is what you want check out these pages
android:Launch custom android application from android browser
IOS:
iPhone - Open Application from Web Page