starti.app 2.0.73 → 2.0.76

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.
@@ -204,6 +204,15 @@ export declare class App extends EventTargetWithType<{
204
204
  * ```
205
205
  */
206
206
  requestReview: () => Promise<void>;
207
+ /**
208
+ * Prompt the user to allow app tracking.
209
+ *
210
+ * @example
211
+ * ```typescript
212
+ * await startiapp.App.requestAppTracking();
213
+ * ```
214
+ */
215
+ requestAppTracking: () => Promise<void>;
207
216
  private onStartiappReady;
208
217
  private handleNavigatingPageEvent;
209
218
  private handleAppInForegroundEvent;
@@ -58,6 +58,7 @@ type AppIntegration = {
58
58
  setStatusBar(options: SetStatusBarOptions): void;
59
59
  setCommonScript(script: string): void;
60
60
  requestReview(): void;
61
+ requestAppTracking(): void;
61
62
  brandId(): string;
62
63
  deviceId(): string;
63
64
  version(): string;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "starti.app",
3
3
  "author": "starti.app",
4
4
  "license": "MIT",
5
- "version": "2.0.73",
5
+ "version": "2.0.76",
6
6
  "description": "Use this package for easy communication with the starti.app API.",
7
7
  "main": "dist/index.js",
8
8
  "types": "dist/index.d.ts",