Google restricts FCM service based on IP Address, Is there any other free Android push notification provider?

我的梦境 提交于 2019-11-30 19:36:36

The exception occurred while calling signInWithCustomToken which is related to the Firebase Authentication feature, not Firebase Cloud Messaging (FCM).

We at Batch.com have many customers in Iran as we are based in Europe not US and most of the business sanctions were lifted last year. Our webservices are not geo-restricted like Firebase ones so I don't see a reason why it would fail with us.

On Android, Batch uses Google Cloud Messaging (GCM) through Google Play Services SDK and our Iranian end-users are fully able to subscribe to push notifications and receive those. FCM is basically just a rebranding of GCM, sending APIs works the same, but subscribing from the client side requires another SDK that heavily relies on the Firebase ecosystem.

Edit: from Firebase term of services:

The Software is controlled by U.S. Export Regulations, and it may be not be exported to or used by embargoed countries or individuals.

OneSignal has free unlimited cross-platform push notifications.

https://onesignal.com/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!