android:navigator plugin push support singlePage flag and the default value is false
This commit is contained in:
1
doric-js/index.d.ts
vendored
1
doric-js/index.d.ts
vendored
@@ -818,6 +818,7 @@ declare module 'doric/lib/src/native/navigator' {
|
||||
alias?: string | undefined;
|
||||
animated?: boolean | undefined;
|
||||
extra?: object | undefined;
|
||||
singlePage?: boolean | undefined;
|
||||
} | undefined) => Promise<any>;
|
||||
pop: (animated?: boolean) => Promise<any>;
|
||||
openUrl: (url: string) => Promise<any>;
|
||||
|
1
doric-js/lib/src/native/navigator.d.ts
vendored
1
doric-js/lib/src/native/navigator.d.ts
vendored
@@ -4,6 +4,7 @@ export declare function navigator(context: BridgeContext): {
|
||||
alias?: string | undefined;
|
||||
animated?: boolean | undefined;
|
||||
extra?: object | undefined;
|
||||
singlePage?: boolean | undefined;
|
||||
} | undefined) => Promise<any>;
|
||||
pop: (animated?: boolean) => Promise<any>;
|
||||
openUrl: (url: string) => Promise<any>;
|
||||
|
@@ -22,6 +22,7 @@ export function navigator(context: BridgeContext) {
|
||||
alias?: string,
|
||||
animated?: boolean,
|
||||
extra?: object,
|
||||
singlePage?: boolean,
|
||||
}) => {
|
||||
if (config && config.extra) {
|
||||
(config as any).extra = JSON.stringify(config.extra)
|
||||
|
Reference in New Issue
Block a user