firebase / firebase/firebase-js-sdk

Firebase blocked in Some Russia areas

Open
#7,710 32 comments 3 reactions 0 assignees View on GitHub
api: firestore needs-attention question
Dominant language
TypeScript
Stars
5.1k
Forks
1k
Avg merge
2d 21h
Merged PRs (30d)
37

Description

### Operating System

iOS/Android

### Browser Version

not exists

### Firebase SDK Version

Android-->19.0.0 /iOS---->10.0.0

### Firebase SDK Product:

Firestore

### Describe your project's tooling

Swift for iOS
Java for Android

### Describe the problem

I am facing some problems with creating the user nodes on FireStore the nodes aren't created or created with some attributes (fields ) and others are not.
This is an example of what I mean:

If I want to write these fields to FireStore
var user = User()
user.email = Auth.auth().currentUser!.email!
user.time_stamp = "19-10-2023"
user.name = "Username"
user.age = 24
user.uid = Auth.auth().currentUser!.uid
user.language = "ru"
user.address = "Russia"

there are 2 scenarios:
the First-------> the node will not be created.
the second----> the node will be created with only some fields and others not like
user.email = Auth.auth().currentUser!.email!
user.time_stamp = "19-10-2023"
user.name = "Username"

or
user.uid = Auth.auth().currentUser!.uid
user.language = "ru"
user.address = "Russia"

or
user.address = "Russia"

Note:
=====
- This case only happened with some of end users in Russia but there are some users the FireStore works fine without this "STRANGE BEHAVIOR"
- The user who faced this problems when use VPN every thing works fine with any blocker.

SO Here is my question:
Does some Firebase service like "FIRESTORE" or any other services blocked in some ares not Just Russia

### Steps and code to reproduce issue

if let uid = Auth.auth().currentUser?.uid {
try? store.collection(Users_F_KEY).document(uid).setData(from: user, completion: { error in
if (error != nil) {
//show error
} else {
//continue the flow
}
})
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.