Google restricts the FCM service based on IP address. Is there any other free notification provider on Android?

I am starting to record a simple push notification application using FCM for Android. But I received this message in my Android studio Log.

signInWithCustomToken com.google.firebase.FirebaseException: An internal error has occurred. [This service is not available in Iran. If you think your country of origin is incorrect, please report this https://support.google.com/websearch/contact/ip . ]

My Android application (client) works fine [Successfully registers and signs up and receives a notification] when I use VPN to change my IP address.

My question is: is there a way to use FCM for my project, forcing clients to use VPN? If not, what other alternatives for FCM are provided free of charge and paid when you submit the service for cross-platform push notification? [It is clear that companies using third-party FCM / GCM services such as Batch.com, Backendless, Pushwoosh will not do any help]

free, I mean for a small number of users (about 1000 MAU)

EDIT: As Antoine Gunard said, with the package, my application registered and received a token and was verified without any problems, but it receives a test notification only through a VPN.

enter image description here

+4
2

signInWithCustomToken, Firebase Authentication, Firebase Cloud Messaging (FCM).

Batch.com , , - . - , Firebase, , .

Android Google Cloud Messaging (GCM) SDK Google Play Services, push- . FCM - GCM, API- , SDK, Firebase.

: from Firebase:

, , .

+2

OneSignal push-.

https://onesignal.com/

+1

Source: https://habr.com/ru/post/1667417/


All Articles