I’ve been trying to implement Realm User Authentication in React Native following the docs here: https://docs.mongodb.com/realm/react-native/authenticate/#sign-in-with-apple
The methods to get credentials for Apple:
const credential = Realm.Credentials.apple(identityToken);
const credential = Realm.Credentials.facebook(accessToken);
don’t seem to exist in email@example.com or even in firstname.lastname@example.org.
I do see them in the documentation here: https://docs.mongodb.com/realm-sdks/js/10.0.0-beta.9/Realm.Credentials.html#.apple
but the npm package doesn’t seem to have these methods.
Not sure if I’m using the wrong version or something.
Edit: I realize that this might be also might be just a typescript issue
Any help would be appreciated,