I am using Sign In with Apple as per the Expo AppleAuthentication documentation, and it works well.
But it returns a different
user variable when I login from Expo and TestFlight (using a binary built with expo cli) using the same Apple ID.
I assume this is because Apple sees the Expo app and the TestFlight app as separate apps, and thus returns a different
user variable. But since I am using the
user as the unique identifier (as recommended by Apple), and my team goes back and forth between Expo and TestFlight, it causes a problem.
There may be no way around this limitation, but perhaps someone has an idea. For what it’s worth , the
user variable has the form
xxxxxx.yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy.zzzz and the
xxxxxx is the same when I login from Expo and TestFlight, but the rest is different.
Thanks in advance.