自从新的Expo SDK 43版本发布后,IntentLauncher的`startActivityAsync()`方法不再接受字符串参数。现在必须使用`ActivityAction`类型。
如何创建自定义的`ActivityAction`?
Expo SDK 42: https://docs.expo.dev/versions/v42.0.0/sdk/intent-launcher/#intentlauncherstartactivityasyncactivityaction-intentparams Expo SDK 43: https://docs.expo.dev/versions/latest/sdk/intent-launcher/#intentlauncherstartactivityasyncactivityaction-params
如何创建自定义的`ActivityAction`?
Expo SDK 42: https://docs.expo.dev/versions/v42.0.0/sdk/intent-launcher/#intentlauncherstartactivityasyncactivityaction-intentparams Expo SDK 43: https://docs.expo.dev/versions/latest/sdk/intent-launcher/#intentlauncherstartactivityasyncactivityaction-params