update sample

master
wanghualei 2023-05-31 10:14:14 +08:00
parent 039917ee11
commit 341731740d
4 changed files with 15 additions and 10 deletions

View File

@ -1,11 +1,11 @@
PODS:
- FinApplet (2.40.3)
- FinAppletExt (2.40.3):
- FinApplet (= 2.40.3)
- FinApplet (2.40.9)
- FinAppletExt (2.40.9):
- FinApplet (= 2.40.9)
- Flutter (1.0.0)
- mop (0.1.1):
- FinApplet (= 2.40.3)
- FinAppletExt (= 2.40.3)
- FinApplet (= 2.40.9)
- FinAppletExt (= 2.40.9)
- Flutter
DEPENDENCIES:
@ -24,10 +24,10 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/mop/ios"
SPEC CHECKSUMS:
FinApplet: a76ded99df163388bb4de129df20c0ff44abe37c
FinAppletExt: 5c53d5c3554ce1be014871214a5c7a06f0bf9177
FinApplet: 9dd3810fb41400c882c8c5d5f528452b0f1f0a63
FinAppletExt: e9f418e3d11f5cf4ee42b2d64ab405fe747f51fe
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
mop: 4881eb2c1d365d9cf148b5dc7f8eca2b7018121d
mop: 8684b0dad361ce1d9b2d4a98d65a1acb52ce4120
PODFILE CHECKSUM: 2317ba7584871ae8cd67fd0244fbd5e96fd06167

View File

@ -520,6 +520,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 9QCKYFU5M4;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = finclip_example;

View File

@ -131,7 +131,11 @@ class _MyAppState extends State<MyApp> {
_buildAppletItem(appletId, "打开小程序", () {
// Mop.instance.openApplet(appletId,
// path: 'pages/index/index', query: '');
RemoteAppletRequest request = RemoteAppletRequest(apiServer: 'https://api.finclip.com', appletId: appletId, transitionStyle: TranstionStyle.TranstionStyleUp);
TranstionStyle style = TranstionStyle.TranstionStyleUp;
if (appletId == "5f72e3559a6a7900019b5baa") {
style = TranstionStyle.TranstionStylePush;
}
RemoteAppletRequest request = RemoteAppletRequest(apiServer: 'https://api.finclip.com', appletId: appletId, transitionStyle: style);
Mop.instance.startApplet(request);
}),
_buildAppletItem(appletId, "finishRunningApplet", () {

View File

@ -115,7 +115,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.40.1"
version: "2.40.9"
path:
dependency: transitive
description: