mirror of
https://github.com/haorendashu/nowser.git
synced 2025-12-17 09:54:19 +01:00
intent call skip applink call
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import 'dart:math';
|
import 'dart:developer';
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter/services.dart';
|
import 'package:flutter/services.dart';
|
||||||
@@ -55,10 +55,13 @@ class _IndexRouter extends CustState<IndexRouter>
|
|||||||
print("find url! $url");
|
print("find url! $url");
|
||||||
webProvider.checkAndOpenUrl(url);
|
webProvider.checkAndOpenUrl(url);
|
||||||
} else {
|
} else {
|
||||||
|
if (intent.data != null && !intent.data!.contains('callbackUrl=')) {
|
||||||
|
// android intent call doesn't contain callbackUrl arg.
|
||||||
dohandleInitialIntent(context, intent);
|
dohandleInitialIntent(context, intent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (PlatformUtil.isAndroid() || PlatformUtil.isIOS()) {
|
if (PlatformUtil.isAndroid() || PlatformUtil.isIOS()) {
|
||||||
quickActions.initialize((shortcutType) {
|
quickActions.initialize((shortcutType) {
|
||||||
|
|||||||
Reference in New Issue
Block a user