Please fill in the following fields:
Unity editor version: 2018.4.16f1
Firebase Unity SDK version: 6.12.0, installed using .unitypackage
Firebase plugins in use (Auth, Database, etc.): Cloud Messaging
Additional SDKs you are using (Facebook, AdMob, etc.): Facebook, AdMob
Platform you are using the Unity editor on (Mac, Windows, or Linux): Mac
Platform you are targeting (iOS, Android, and/or desktop): iOS
Scripting Runtime (Mono, and/or IL2CPP): IL2CPP
Please describe the issue here:
I am really not sure, is it an issue at all, but according to new GDPR rules we can't collect any data before user consent. I assume Firebase token use user/device ID to register a token.
I am worrying about the fact, that on iOS initial App start FCM initiates by itself and register a token. Here is a message I receive:
Firebase.FirebaseApp:InitializeAppUtilCallbacks() Firebase.FirebaseApp:CheckDependenciesAsync() Firebase.FirebaseApp:CheckAndFixDependenciesAsync() FirebaseManager:Start()
Which seems normal because my FirebaseManager checks for dependencies on Start, but doesn't trigger any Firebase class methods.
And at the end I receive this message:
2020-04-27 13:31:29.998354+0700 triviafight[15756:1376094] FCM: registration token received, but no listener set yet - cached the token. FCM: registration token received, but no listener set yet - cached the token. (Filename: ./Runtime/Export/Debug.bindings.h Line: 45) 2020-04-27 13:31:30.263793+0700 triviafight[15756:1376292] [] tcp_input [C8.1:3] flags=[R] seq=4207939554, ack=0, win=0 state=CLOSED rcv_nxt=4207939554, snd_una=1728814353 2020-04-27 13:31:30.264008+0700 triviafight[15756:1376292] [] tcp_input [C8.1:3] flags=[R] seq=4207939554, ack=0, win=0 state=CLOSED rcv_nxt=4207939554, snd_una=1728814353 2020-04-27 13:31:30.332955+0700 triviafight[15756:1376293] [Fabric] failed to download settings Error Domain=FABNetworkError Code=-5 "(null)" UserInfo={status_code=403, type=2, request_id=, content_type=application/json; charset=utf-8} 2020-04-27 13:31:30.395753+0700 triviafight[15756:1376293] 6.17.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled 2020-04-27 13:31:30.429297+0700 triviafight[15756:1376293] [] tcp_input [C6.1:3] flags=[R] seq=539856417, ack=0, win=0 state=CLOSED rcv_nxt=539856417, snd_una=806563659 2020-04-27 13:31:30.430355+0700 triviafight[15756:1376293] [] tcp_input [C6.1:3] flags=[R] seq=539856417, ack=0, win=0 state=CLOSED rcv_nxt=539856417, snd_una=806563659 2020-04-27 13:31:30.597126+0700 triviafight[15756:1376293] [] tcp_input [C7.1:3] flags=[R] seq=1028349471, ack=0, win=0 state=CLOSED rcv_nxt=1028349471, snd_una=1736232985 2020-04-27 13:31:30.598726+0700 triviafight[15756:1376293] [] tcp_input [C7.1:3] flags=[R] seq=1028349471, ack=0, win=0 state=CLOSED rcv_nxt=1028349471, snd_una=1736232985 2020-04-27 13:31:31.366357+0700 triviafight[15756:1376094] FCM: registration token received, but no listener set yet - cached the token. FCM: registration token received, but no listener set yet - cached the token. (Filename: ./Runtime/Export/Debug.bindings.h Line: 45) 2020-04-27 13:31:31.367959+0700 triviafight[15756:1376292] 6.17.0 - [Firebase/InstanceID][I-IID003010] Successfully fetched default token.
If I am wrong and this doesn't violates GDPR, please close this ticket, but otherwise this problem should have investigation.
Please answer the following, if applicable:
Yes
What's the issue repro rate? (eg 100%, 1/5 etc)
100%
Please fill in the following fields:
Unity editor version: 2018.4.16f1
Firebase Unity SDK version: 6.12.0, installed using .unitypackage
Firebase plugins in use (Auth, Database, etc.): Cloud Messaging
Additional SDKs you are using (Facebook, AdMob, etc.): Facebook, AdMob
Platform you are using the Unity editor on (Mac, Windows, or Linux): Mac
Platform you are targeting (iOS, Android, and/or desktop): iOS
Scripting Runtime (Mono, and/or IL2CPP): IL2CPP
Please describe the issue here:
I am really not sure, is it an issue at all, but according to new GDPR rules we can't collect any data before user consent. I assume Firebase token use user/device ID to register a token.
I am worrying about the fact, that on iOS initial App start FCM initiates by itself and register a token. Here is a message I receive:
Firebase.FirebaseApp:InitializeAppUtilCallbacks() Firebase.FirebaseApp:CheckDependenciesAsync() Firebase.FirebaseApp:CheckAndFixDependenciesAsync() FirebaseManager:Start()Which seems normal because my FirebaseManager checks for dependencies on Start, but doesn't trigger any Firebase class methods.
And at the end I receive this message:
2020-04-27 13:31:29.998354+0700 triviafight[15756:1376094] FCM: registration token received, but no listener set yet - cached the token. FCM: registration token received, but no listener set yet - cached the token. (Filename: ./Runtime/Export/Debug.bindings.h Line: 45) 2020-04-27 13:31:30.263793+0700 triviafight[15756:1376292] [] tcp_input [C8.1:3] flags=[R] seq=4207939554, ack=0, win=0 state=CLOSED rcv_nxt=4207939554, snd_una=1728814353 2020-04-27 13:31:30.264008+0700 triviafight[15756:1376292] [] tcp_input [C8.1:3] flags=[R] seq=4207939554, ack=0, win=0 state=CLOSED rcv_nxt=4207939554, snd_una=1728814353 2020-04-27 13:31:30.332955+0700 triviafight[15756:1376293] [Fabric] failed to download settings Error Domain=FABNetworkError Code=-5 "(null)" UserInfo={status_code=403, type=2, request_id=, content_type=application/json; charset=utf-8} 2020-04-27 13:31:30.395753+0700 triviafight[15756:1376293] 6.17.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled 2020-04-27 13:31:30.429297+0700 triviafight[15756:1376293] [] tcp_input [C6.1:3] flags=[R] seq=539856417, ack=0, win=0 state=CLOSED rcv_nxt=539856417, snd_una=806563659 2020-04-27 13:31:30.430355+0700 triviafight[15756:1376293] [] tcp_input [C6.1:3] flags=[R] seq=539856417, ack=0, win=0 state=CLOSED rcv_nxt=539856417, snd_una=806563659 2020-04-27 13:31:30.597126+0700 triviafight[15756:1376293] [] tcp_input [C7.1:3] flags=[R] seq=1028349471, ack=0, win=0 state=CLOSED rcv_nxt=1028349471, snd_una=1736232985 2020-04-27 13:31:30.598726+0700 triviafight[15756:1376293] [] tcp_input [C7.1:3] flags=[R] seq=1028349471, ack=0, win=0 state=CLOSED rcv_nxt=1028349471, snd_una=1736232985 2020-04-27 13:31:31.366357+0700 triviafight[15756:1376094] FCM: registration token received, but no listener set yet - cached the token. FCM: registration token received, but no listener set yet - cached the token. (Filename: ./Runtime/Export/Debug.bindings.h Line: 45) 2020-04-27 13:31:31.367959+0700 triviafight[15756:1376292] 6.17.0 - [Firebase/InstanceID][I-IID003010] Successfully fetched default token.If I am wrong and this doesn't violates GDPR, please close this ticket, but otherwise this problem should have investigation.
Please answer the following, if applicable:
Yes
What's the issue repro rate? (eg 100%, 1/5 etc)
100%