Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Commit

Permalink
fix(Android): cannot open GKD
Browse files Browse the repository at this point in the history
  • Loading branch information
adproqwq committed Apr 12, 2024
1 parent 15f7e67 commit 2c3a201
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions src/methods/quickStart.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,30 @@
import { LaunchApp } from "web-launch-app";

export const quickStart = () => {
const launchApp = new LaunchApp();
launchApp.open({
scheme: 'gkd://import',
timeout: 2000,
var config = {
inApp: false,
appVersion: '',
pkgName: 'li.songe.gkd',
deeplink: {
scheme: {
android: {
protocol: 'gkd',
index: {
path: 'import',

},
},
},
},
pkgs: {
android: 'https://registry.npmmirror.com/@gkd-kit/app/2.0.17/files/dist/gkd-v1.7.3.apk',
},
launchType: {
android: 'scheme',
},
timeout: 2000,
landPage: 'https://gkd.li/guide/#install',
});
};
const launchApp = new LaunchApp(config);
launchApp.open(config);
}

0 comments on commit 2c3a201

Please sign in to comment.