how to compute hash string for sms retriever API in IONIC v4 - ionic4

I'm implementing Auto OTP verification in Ionic 4 using ionic sms retriever plugin, and I am getting App hash string from getAppHash method for my sms template but its not working in release mode. So please suggest that how to solve this problem.
And also I need to compute App Hash from command line, how it works?
Please suggest
Thanks

download this file
https://github.com/googlearchive/android-credentials/blob/master/sms-verification/bin/sms_retriever_hash_v9.sh
and run command
./sms_retriever_hash_v9.sh --package yourPackageName --keystore your_keystore_file_location

Related

Expo Push Notification does not receive notification

I am trying to use Expo's Snack Tool to test the notification system.
I manage to get my token and send a scheduled notification, but can't figure out how to receive a notification from the test tool proposed by Expo. I have also use Insomnia for making my POST request and just return me a 200.
Here is the link to a Snack as well as the one of the test tool
I have no idea about Expo tool but I would suggest you use Prateek Bhutani's
(postman plugin) I have tested my apps in past using postman.
link : https://medium.com/android-school/test-fcm-notification-with-postman-f91ba08aacc3

How to Implement SMS Verification Codes Auto Fill using React-Native

I have just started learning React-Native, I have sms verification in my demo application, my goal is to fill in the field for sms automatically when the verification code reaches the user, I use the service of a foreign company for sms sender, how is it possible to achieve all this React Native , And which package would you recommend for cross-platform device, thank you very much.
There is a npm package called react-native-otp-autocomplete. However, it only works for Android. There is one more npm package react-native-otp-auto-fill. You can check this out for IOS.

UBER EATS API EXPO AUTHENTICATION USING EXPO

I'm new to expo and i've been trying to integrate the uber authentication to my app and i've tried the authentication example shown in the authentication page of expo documentation for uber.
Uber Example Authentication in expo documentation
https://docs.expo.io/guides/authentication/#uber
And when I Login in browser I get an invalid_request.
I tried debugging the object and says my scopes are invalid, and i checked the documentation and the scopes are correct so idk how to solve this problem.
The debug result here
Any Help would be appreciated!
I've found the problem, I didn't need to identify the scopes because he would receive the authorization url with the scopes inside.

How to get google WEB API key to using in Expo sdk 32?

I'm going to make Google login with Expo sdk 32, But In documentation, There is no how to get WEB API Key to use option 'cliendID' at LoginConfig.
How to get google WEB API key to using in Expo sdk 32?
Hi I faced the same issue because it`s not so obvious what to use from the Expo docs, here it is
NOTICE: if you want to make it work with the standalone build, you need to set up REVERSE_CLIENT_ID in the app.json from GoogleService-info.plist
the instruction you can find here: point 5 https://docs.expo.io/versions/latest/sdk/google-sign-in/#setup

Generate google-services.json for firebase via API

Since we've upgraded from GCM to FCM we have a problem because the app suddenly needs a custom google-services.json and I don't seem to find a API or cli tool which enables me to add new apps and generate a new file.
Has someone found a way to automate this?
There is currently no API to generate a google-services.json. You can download it from your Firebase Console by selecting your project and then clicking to manage your Android app.