File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -232,6 +232,22 @@ class _MyHomePageState extends State<MyHomePage> with WidgetsBindingObserver {
232
232
print ('[Adjust]: Received deferred deeplink: ' + uri! );
233
233
};
234
234
235
+ config.skanUpdatedCallback = (Map <String , String > skanUpdateData) {
236
+ print ('[Adjust]: Received SKAN update information!' );
237
+ if (skanUpdateData["conversion_value" ] != null ) {
238
+ print ('[Adjust]: Conversion value: ' + skanUpdateData["conversion_value" ]! );
239
+ }
240
+ if (skanUpdateData["coarse_value" ] != null ) {
241
+ print ('[Adjust]: Coarse value: ' + skanUpdateData["coarse_value" ]! );
242
+ }
243
+ if (skanUpdateData["lock_window" ] != null ) {
244
+ print ('[Adjust]: Lock window: ' + skanUpdateData["lock_window" ]! );
245
+ }
246
+ if (skanUpdateData["error" ] != null ) {
247
+ print ('[Adjust]: Error: ' + skanUpdateData["error" ]! );
248
+ }
249
+ };
250
+
235
251
// Add session callback parameters.
236
252
Adjust .addGlobalCallbackParameter ('scp_foo_1' , 'scp_bar' );
237
253
Adjust .addGlobalCallbackParameter ('scp_foo_2' , 'scp_value' );
You can’t perform that action at this time.
0 commit comments