Ai大模型相关案例,AI
React Native v0.27.0 发布了。更新如下:
Breaking changes
General
- Kill NavigationReducers (3a8b50a)
- NavigationExperimental – Clean up NavigationStateUtils (67002e8)
- Remove the logic that lets NavigationStateUtils accept empty value as input and return a new state.
- Remove the method
NavigationStateUtils.getParent,NavigationStateUtils.set.
- NavigationExperimental – Remove prop
onNavigate(fb0007d)
Android
- Add
ReactInstanceHolder(49f20f4)12345<application+ android:name=".MainApplication"android:allowBackup="true"android:label="@string/app_name"android:icon="@mipmap/ic_launcher"android:theme="@ /AppTheme">The experience might vary according to the level of customization you’ve made. Check this commit to see how UIExplorer and MoviesApp were migrated – dcc2abc
- Create a new file
MainApplication.javain the same folder asMainActivity.java - Update it to match – https://github.com/facebook/react-native/blob/0.29-stable/local-cli/generator-android/templates/package/MainApplication.java and move your customisations from
MainActivity.javato this file - Update
MainActivity.javato match – https://github.com/facebook/react-native/blob/0.29-stable/local-cli/generator-android/templates/package/MainActivity.java - Add
android:name=".MainApplication"in the<application />section ofAndroidManifest.xml. It should now look like,
- Create a new file
- Remove support for password property and only use secureTextEntry (f3507f9)
- Remove the Profiler Option in RN Android Dev Menu (4b19db3)
iOS
- Automatically clip subviews when
removeClippedSubviewsprop is used (1048e5d) - Remove deprecated methods from StatusBarIOS (4de616b)
下载地址:






