Redux offline createOffline vs Offline API? - redux-offline

What is the difference between createOffline and offline api?
The redux offline home page shows an example using offline
https://github.com/redux-offline/redux-offline
In the docs there are examples to both
https://github.com/redux-offline/redux-offline/tree/develop/docs/api
What is the difference, which is used when and why?
Thanks!

Related

Can I use Google's recapcha v3 in react native

I know google recapcha v3 uses browser's fingerprinting, cookies and the logged in google account's reputation in the browser to evaluate and give the score.
If I use recapcha v3 in react native implemented using WebView. It works but considering there is no loggedin google account nor cookies, is the score given by recapcha in this simulated environment reliable?
Can any one please help me here,
Can I use google recaptcha v3 in react native?

Can I use firestore free for my standalone application react native expo

I finish my one app and I try to make standalone app and send to users
This android app is my 1st time
I want to know is firebase firestore is free or not
what need to do more
I store data in firestore
if this app use in public ,what are requirement
thanks
Yes you can. By default, a project on firebase uses the free Spark Plan. It offers some limited services for free. You can check the details here

How to implement PayPal in Expo ReactNative app using Webview without Nodejs

I am developing an Ecpo ReactNative app and i looking to integrate PayPal to allow users to purchase some products using Webview, but I don't know how to do it. I came across this article: https://medium.com/#adityasingh_32512/integrating-paypal-in-your-react-native-app-4dcf89e11dd which explains how to do it but he uses a nodejs server and i won't necessarily implement a Nodejs server...
I also came across this article: How to integrate Paypal using React Native expo? where they offer other solutions, but which didn't satisfy me.
If you don't use a server integration (nodejs or otherwise), then obviously only client-side JS will be available. Here is a demo pattern of what you can do: https://developer.paypal.com/demo/checkout/#/pattern/client
There's nothing React-specific about it.

google assistant with react native

I developed one react native application. now I want to integrate Google Assistant in the app, I will provide one mic button, if the user click on it, the google assistant need to be enabled, and I need response from the google.
I am working in smart home project, I want to integrate google assistant api in React native app, I seen the library support only python. Please suggest me the best way I can embed google assistant in my app.
Have you looked at the dialogflow integration with react native? that could help you do what you want. If you are building a smart home integration I would assume you are already in dialogflow to some extent.
https://github.com/innFactory/react-native-dialogflow

Using watson developer cloud with react native

I'm trying to integrate my already created IBM Watson chatbot into my react native mobile application. Any time I import watson-developer-cloud I get an error saying that Node.js standard libraries such as stream are not compatible with Expo. I've seen other people using watson services to create speech to text apps. I don't understand how they are using the services without the watson-developer-cloud package. I've seen some community created packages such as react-native-watson that supposedly can make this happen, but I can't get any of it to work. Is there any way I can make this work or is it impossible? Any suggestions are welcome and appreciated.
Just to help you with some path, for sure you can use React Native to built the UI for your app. But also you need the back-end and communicate with Watson API. (If you want you can use just the fetch from react native, but I really recommend you don't do that if your app will grow with time.
I really recommend you take a look at Watson developer Cloud, and use the Assistant Simple to understand the backend with Node.js. Also try to check the Watson Assistant API documentation.
For summary, you'll create one server with Node.js and express, and create routers in your backend, with theses routes, you gonna use fetch from React native to send HTTP requests to your routes, your backend will call Watson Assistant API and answer. Your fetch will get this response and show that to the user in your U.
Obs.: You can use any language in the backend and Watson Developer Cloud has a lot of examples using Watson Assistant with Java, Python, etc.
See the Official Watson Assistant API documentation.
See the Official use of Fetch in React Native.