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

激励视频透传字段未传递 #7

Closed
liangdas opened this issue Oct 24, 2021 · 3 comments
Closed

激励视频透传字段未传递 #7

liangdas opened this issue Oct 24, 2021 · 3 comments

Comments

@liangdas
Copy link

激励视频 userID customData 透传字段无效,后端回调值为空

@liangdas
Copy link
Author

[VERBOSE-2:ui_dart_state.cc(186)] Unhandled Exception: Null check operator used on a null value
#0 FlutterTencentAdStream.initAdStream. (package:flutter_tencentad/flutter_tencentad_stream.dart:57:55)
#1 _rootRunUnary (dart:async/zone.dart:1362:47)
#2 _CustomZone.runUnary (dart:async/zone.dart:1265:19)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1170:7)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
#5 _DelayedData.perform (dart:async/stream_impl.dart:591:14)
#6 _StreamImplEvents.handleNext (dart:async/stream_impl.dart:706:11)
#7 _PendingEvents.schedule. (dart:async/stream_impl.dart:663:7)
#8 _rootRun (dart:async/zone.dart:1346:47)
#9 _CustomZone.run (dart:async/zone.dart:1258:19)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1162:7)
#11 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1202:23)
#12 _rootRun (dart:async/zone.dart:1354:13)
#13 _CustomZone.run (dart:async/zone.dart:1258:19)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1162:7)
#15 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1202:23)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)

@liangdas
Copy link
Author

let a = GDTServerSideVerificationOptions.init();
a.userIdentifier = self.userID
a.customRewardString = customData
self.rewardVideoAd.serverSideVerificationOptions=a //加上这段代码就行

@gstory0404
Copy link
Owner

已修改

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

2 participants