Show "InvalidRegistration" when try to send notification in my iOS Ionic App - ios

I try to send notification to my android and ios IONIC app using FCM. I use
phonegap-plugin-push Plugin : v2.0.0-rc5
I try to send notification from Firebase successfully landed in my Android device but in iOS in response I get a message "Invalid registration token. Check the token format."
I follow all steps based on phonegap-plugin-push doc, and I copy Google-Services.plist created in Firebase in my app folder. in response I get Notification ID also in my iPhone.
Please help me.

Related

settings for using firebase messaging on Ios app with nativescript

I use Firebase Messaging on an application made with nativescript, and I managed easily to set push notifications on android but on Ios it's a bit of a struggle...
https://github.com/EddyVerbruggen/nativescript-plugin-firebase/blob/master/docs/MESSAGING.md
I have 2 questions :
Do I have to follow these instructions & where do I manage the part wit "registerForRemoteNotifications" https://firebase.google.com/docs/cloud-messaging/ios/client#swift ?
How to refresh GoogleService-Info.plist if I changed my app ID Bundle ?
Thanks a lot !

Linking.openUrl to send an sms in IOS

I need to send an SMS with a prefilled body in a React-native app but I'm having trouble passing the phone number
This is what I have tried so far:
Linking.openURL(sms:/open?addresses=${phone}&body=${body})
Linking.openURL(sms:${phone}&body=${body})
Linking.openURL(sms:/?addresses=${phone}&body=${body})
The sms App opens and the body is in the message filed but the To: field contains 'No Name' with a spiner.
*this is on the latest version of IOS (13.2.2)
The problem seemed to be with the simulator it works on a real device and as Bug mentioned the correct syntax is indeed
Linking.openURL(`sms:${phone}&body=${body}`)

How to disable CAPTCHA for QA env in firebase auth (react native app)?

We are working on the test automation framework for react-native app.
When we try to log in on the app on iOS build (manually or automatically) we get redirected to the captcha :
How we can to disable captcha for firebase auth?
Why the captcha appears only on iOS build?
Update:
It is possible to do this without firebase.auth().signInAnonymously() mentioned in this post ?
You should enable silent notification
https://firebase.google.com/docs/auth/ios/phone-auth#start-receiving-silent-notifications

ios - Launch Apple Mail Exchange App from within my own App?

I am trying to launch the exchange mail app configured via apple mail on an ios app written in react-native. I know that we can use the mailto and message urlschemes to open the mail app, but none of these target a specific mail app installed via apple mail.
https://developer.apple.com/library/archive/featuredarticles/iPhoneURLScheme_Reference/MailLinks/MailLinks.html#//apple_ref/doc/uid/TP40007899-CH4-SW1
The above opens the default mail app selected in apple mail. Is there a way to that to a targetted mail app?
Is it possible to achieve this?

BeaconTools iOS app : Error : Couldn't fetch registration data (while registering with EID)

I am currently working on iOS application which includes functionality on Beacons. I used google nearby API's for searching Beacon. While integrating Nearby API i am facing below issues.
I am trying to register Beacon (minewtech Eddystone) through "Beacon Tools" iOS application using Broadcast Profile "EID". But i got error while registering.
Same beacon registration succeed from Android version of "Beacon Tools".
I have followed all steps in https://developers.google.com/nearby/messages/ios/get-started tutorial but unfortunately application don't found any beacon even if beacons are registered(registered from android app) on google beacon dashboard.
I have downloaded sample application from googlesamples/ios-nearby and run it, but in this app also registered beacon was't detected. Where as in Android app it works fine.
I have created APP_Key from console project and used it while creating GNSMessageManager object.
Let me know if any additional setup require for iOS.
Please Find attached screenshot for reference.
Reference Error Image

Resources