Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is Firebase based app not working in Iran?

I am working on an iOS project for my client from Iran using Firebase. When my client tries to open the Firebase website (https://www.firebase.google.com), he is getting error like:

"Your client does not have permission to get URL / from this server. That’s all we know."

Anyone has any idea about this? Is firebase not available in Iran? Lets say I tell him to use VPN, will the user from Iran be able to use this app after release?

Would appreciate if somebody from Iran can help me out.

like image 774
atulkhatri Avatar asked May 22 '16 11:05

atulkhatri


People also ask

Can I use Firebase in Iran?

Working with Firebase in Iran isn't possible. Therefore, you should use an alternative solution. One of the best backend service out there is Parse Platform. Although You can set your own Parse server up, you can use Back4App, which is based on Parse.

Will Firebase shut your app down if on free plan?

You get all the no-cost Firebase features (Analytics, the Notifications composer, Crashlytics, and so on) and generous amounts of our paid infrastructure features. However, if you exceed your Spark plan resources in a calendar month, your app will be shut off for the remainder of that month.

What languages are supported by Firebase?

The Firebase SDK supports programming in C++, Java, JavaScript, JavaScript/Node. js, Objective-C, and Swift. Angular, Backbone, Ember and React are supported through bindings to the database. Google added a number of helper libraries: FirebaseUI, Geofire, Firebase Queue, FirebaseJobDispatcher.

Is Firebase app safe?

As a default Firebase database has no security, it's the development team's responsibility to correctly secure the database prior to it storing real data. In Google Firebase, this is done by requiring authentication and implementing rule-based authorization for each database table.


1 Answers

By my friends, I know that many things are filtered in Iran. Some filters are by government ( porn sites or some social media sites) and some are by sanctions ( some technological tools). This which you are facing now is a sanction.

For browsers: he has to go into incognito to avoid any previous caches and also Yes use a VPN.

As for the app: it depends, would firebase.google know about the IP address of where it was originated? if so then yes it won't be able to work and you must somehow think of some local service or somehow incorporate a VPN into your app.
I recommend you seek consultation from your client, it's really not your responsibility and I assure you that this isn't a huge problem, there must be plenty of workarounds that you just don't know of.

EDIT: It seems that there is an Iranian alternative to Firebase. It's called Pushe.

like image 195
mfaani Avatar answered Sep 21 '22 07:09

mfaani