@momo-kits/foundation 0.92.17-rc.3 → 0.92.17-rc.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -131,7 +131,7 @@ const StackScreen: React.FC<ScreenParams> = props => {
131
131
  * tracking for screen
132
132
  */
133
133
  useEffect(() => {
134
- if (__DEV__ && screenName == 'Invalid' && context.enableAutoId) {
134
+ if (['Invalid', 'screen'].includes(screenName) && context.enableAutoId) {
135
135
  setTimeout(() => {
136
136
  navigator?.showModal({screen: EmptyScreen});
137
137
  }, 300);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.92.17-rc.3",
3
+ "version": "0.92.17-rc.4",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},