Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RN0.72.6与iOS混合编程,RN的无痕埋点无法抓取到 #126

Open
binhan198 opened this issue Jan 18, 2024 · 1 comment
Open

RN0.72.6与iOS混合编程,RN的无痕埋点无法抓取到 #126

binhan198 opened this issue Jan 18, 2024 · 1 comment

Comments

@binhan198
Copy link

binhan198 commented Jan 18, 2024

使用神策SDK release/4.6.0,RN代码埋点可以通过传到native抓取到,但是无法抓到任何无痕埋点
已调用:
sensors.init({
server_url:'http://XXXXXX', auto_track:sensors.SAAutoTrackType.START|sensors.SAAutoTrackType.END|sensors.SAAutoTrackType.CLICK|sensors.SAAutoTrackType.VIEW_SCREEN
// });
sensors.track('BuyProduct', { ProductID: 123456, ProductCatalog:'Laptop Computer'})//只有这个点可以

image 查看RN页面的图层,里面不是原来的RCTView,而是RCTViewComponentView,不知道有没有影响
@binhan198 binhan198 changed the title RN RN0.72.6与iOS混合编程,RN的无痕埋点无法抓取到 Jan 18, 2024
@binhan198
Copy link
Author

binhan198 commented Jan 18, 2024

确认了RN最新的图层布局用的是RCTViewComponentView和RCTRootComponentView,不是原来监听的RCTView和RCTRootView,因此取不到,希望SDK能够尽快兼容

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant