Hi,
After updating to SDK 33 (from SDK 32) and redoing all the imports the Android standalone crashes for the following errors (The actual code is exactly as was in SDK 32):
The method or property Amplitude.setUserId is not available on android, are you sure you’ve linked all the native dependencies properly?
undefined is not an object (evaluating ‘S.Type’) while calling: “Camera.Constants.FlashMode.off”
undefined is not an object (evaluating ‘c.default.loadAsync’) while calling: “await Font.loadAsync”
undefined is not an object (evaluating ‘p.default.hasServicesEnabledAsync’) while calling: “Location.hasServicesEnabledAsync()”
All of the errors occur when importing based on the updated SDK33 notes:
import * as Font from ‘expo-font’;
import * as Amplitude from ‘expo-analytics-amplitude’;
import { Camera } from ‘expo’
import * as Location from ‘expo-location’
Running managed expo SDK 33.0.5
Errors occur on the following Android devices:
ONEPLUS A6013 API 28
SM-J337A API 26
SM-J500M API 23
SM-G965F API 28
XT1609 API 25
SM-G955U API 28
SM-S367VL API 26
LG-K428 API 23
SM-N920T API 24
And others…