@momo-kits/foundation 0.92.6-rc.13 → 0.92.6-rc.14

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.
@@ -75,7 +75,7 @@ const StackScreen: React.FC<ScreenParams> = props => {
75
75
  const onScreenLoad = () => {
76
76
  clearTimeout(tracked.current.timeoutLoad);
77
77
  if (!tracked.current?.releaseLoad) {
78
- navigator?.maxApi?.dispatchFunction?.('autoTracking', {
78
+ context.autoTracking?.({
79
79
  appId: context.appId,
80
80
  code: context.code,
81
81
  screenName,
@@ -97,7 +97,7 @@ const StackScreen: React.FC<ScreenParams> = props => {
97
97
  const onScreenInteraction = () => {
98
98
  clearTimeout(tracked.current.timeoutInteraction);
99
99
  if (!tracked.current?.releaseInteraction) {
100
- navigator?.maxApi?.dispatchFunction?.('autoTracking', {
100
+ context.autoTracking?.({
101
101
  appId: context.appId,
102
102
  code: context.code,
103
103
  screenName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.92.6-rc.13",
3
+ "version": "0.92.6-rc.14",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},