I had an issue while submitting my app to Apple due to the IPv6 compatibility. I am using Firebase as my backend and accessing google geocoding api. I have set up the testing environment as indicated in the following link:
However, my app does not respond / create new users in firebase while connected to ipv6 network but works fine while connected to ipv4.
Here is how i create using swift:
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
FIRAuth.auth()?.createUserWithEmail("xxxxx", password: "xxxxx") { (user, error) in
}
}
When my device is connected to an ipv4 router, i see the account registered in dashboard.
However, when I connect my device to ipv6 through my Mac, as guided by the link above:
I receive the following error:
FirebaseMapipv6[521:87594] <Firebase/Network/ERROR> Encounter network error. Error: Error Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found." UserInfo={NSUnderlyingError=0x1365a44a0 {Error Domain=kCFErrorDomainCFNetwork Code=-1003 "(null)" UserInfo={_kCFStreamErrorCodeKey=8, _kCFStreamErrorDomainKey=12}}, NSErrorFailingURLStringKey=https://play.googleapis.com/log, NSErrorFailingURLKey=https://play.googleapis.com/log, _kCFStreamErrorDomainKey=12, _kCFStreamErrorCodeKey=8, NSLocalizedDescription=A server with the specified hostname could not be found.}I am not sure if there is a solution to solve this issue as apple's review will require my app to function on an ipv6 network connection only.
Thanks a lot for your help!
Clement
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/01e70811-3916-4321-b55b-2f2011f5f2af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.