因有空格导致部分Android手机无法运行

master
raoxudong 4 years ago
parent 087c76e951
commit fd75936c92

@ -34,5 +34,5 @@
</intent-filter> </intent-filter>
</service> </service>
</application> </application>
<uses-permission android:name="com.huawei.android.launcher.permission.CHANGE_BADGE "/> <uses-permission android:name="com.huawei.android.launcher.permission.CHANGE_BADGE"/>
</manifest> </manifest>

@ -129,6 +129,7 @@ class _MyAppState extends State<MyApp> {
title: "getLaunchAppNotification", title: "getLaunchAppNotification",
onPressed: () { onPressed: () {
jpush.getLaunchAppNotification().then((map) { jpush.getLaunchAppNotification().then((map) {
print("flutter getLaunchAppNotification:$map");
setState(() { setState(() {
debugLable = "getLaunchAppNotification success: $map"; debugLable = "getLaunchAppNotification success: $map";
}); });

Loading…
Cancel
Save