starti.app 2.0.56 → 2.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -128,6 +128,15 @@ export declare class App extends EventTargetWithType<{
|
|
|
128
128
|
enableSwipeNavigation: () => Promise<void>;
|
|
129
129
|
/** Disables swipe gestures for navigation */
|
|
130
130
|
disableSwipeNavigation: () => Promise<void>;
|
|
131
|
+
/**
|
|
132
|
+
* Opens the app settings.
|
|
133
|
+
*
|
|
134
|
+
* @example
|
|
135
|
+
* ```typescript
|
|
136
|
+
* await startiapp.App.openSettings();
|
|
137
|
+
* ```
|
|
138
|
+
*/
|
|
139
|
+
openSettions: () => Promise<void>;
|
|
131
140
|
/**
|
|
132
141
|
* Set the app icon.
|
|
133
142
|
*
|
package/dist/integrations.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ type DeviceIntegration = {
|
|
|
33
33
|
type AppIntegration = {
|
|
34
34
|
download(url: string, filename: string): void;
|
|
35
35
|
openBrowser(url: string): void;
|
|
36
|
+
openSettings(): void;
|
|
36
37
|
setAppUrl(url: string): void;
|
|
37
38
|
getAppUrl(): string;
|
|
38
39
|
resetAppUrl(): void;
|
|
@@ -124,19 +125,19 @@ type LocationIntegration = {
|
|
|
124
125
|
checkAccess(): PermissionStatus;
|
|
125
126
|
};
|
|
126
127
|
export type Integrations = {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
128
|
+
AppIntegration: AppIntegration;
|
|
129
|
+
DeviceIntegration: DeviceIntegration;
|
|
130
|
+
QrScannerIntegration: QrScannerIntegration;
|
|
131
|
+
BiometricIntegration: BiometricIntegration;
|
|
132
|
+
CalendarIntegration: CalendarIntegration;
|
|
133
|
+
NFCIntegration: NFCIntegration;
|
|
134
|
+
PushNotificationIntegration: PushNotificationIntegration;
|
|
135
|
+
ShareIntegration: ShareIntegration;
|
|
136
|
+
NetworkIntegration: NetworkIntegration;
|
|
137
|
+
AlternateIconsIntegration: AlternateIconsIntegration;
|
|
138
|
+
IapIntegration: IapIntegration;
|
|
139
|
+
DeveloperIntegration: DeveloperIntegration;
|
|
140
|
+
StorageIntegration: StorageIntegration;
|
|
141
|
+
LocationIntegration: LocationIntegration;
|
|
141
142
|
};
|
|
142
143
|
export {};
|
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare class SmartBanner {
|
|
2
|
-
constructor();
|
|
3
|
-
private marginTop;
|
|
4
|
-
private getHostDomain;
|
|
5
|
-
private getSmartBannerDataUrl;
|
|
6
|
-
private getSmartBannerData;
|
|
7
|
-
private getSmartBannerClosed;
|
|
8
|
-
private setSmartBannerClosed;
|
|
9
|
-
initialize(): Promise<void>;
|
|
10
|
-
private createIosBannerContent;
|
|
11
|
-
private createAndroidBannerContent;
|
|
12
|
-
private createContent;
|
|
13
|
-
}
|