Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
flutter
/
zhiying_comm
Segui
4
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
95
Wiki
Attività
Sfoglia il codice sorgente
1.添加换起app通知的设置
tags/0.0.13
“yanghuaxuan”
3 anni fa
parent
ab7cbeb6cf
commit
5be355f767
3 ha cambiato i file
con
12 aggiunte
e
1 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+3
-0
android/src/main/java/cn/zhios/zhiying_comm/ZhiyingFlutterCommNativable.java
+8
-0
android/src/main/java/cn/zhios/zhiying_comm/ZhiyingFlutterCommNative.java
+1
-1
pubspec.yaml
+ 3
- 0
android/src/main/java/cn/zhios/zhiying_comm/ZhiyingFlutterCommNativable.java
Vedi File
@@ -18,4 +18,7 @@ public interface ZhiyingFlutterCommNativable {
public void invokeMethod(String method, Map<String, Object> params, ZhiyingFlutterCommHandler handler);
public void initSuccess();
public void openAppSettings();
}
+ 8
- 0
android/src/main/java/cn/zhios/zhiying_comm/ZhiyingFlutterCommNative.java
Vedi File
@@ -97,7 +97,15 @@ public class ZhiyingFlutterCommNative implements MethodCallHandler {
}
result.success("success");
return;
}
if(call.method.equals("openAppSettings")){
if(nat!=null){
nat.openAppSettings();
}
Map map = new HashMap<String, Object>();
result.success(map);
return;
}
/* 调用原生方法 */
+ 1
- 1
pubspec.yaml
Vedi File
@@ -79,7 +79,7 @@ dependencies:
permission_handler:
git:
url: 'http://192.168.0.138:3000/FnuoOS_Flutter_Components/permission_handler.git'
ref: '0.0.
1
'
ref: '0.0.
2
'
#文件夹路径管理
path_provider: ^1.4.0
#保存文件到相册
Scrivi
Anteprima
Caricamento…
Annulla
Salva