@ua/capacitor-airship 2.0.0 → 2.0.1

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.
@@ -3,5 +3,5 @@
3
3
  package com.airship.capacitor
4
4
 
5
5
  object AirshipCapacitorVersion {
6
- var version = "1.2.4"
6
+ var version = "2.0.1"
7
7
  }
@@ -0,0 +1,25 @@
1
+ /* Copyright Airship and Contributors */
2
+
3
+ #import "AirshipCapacitorBootstrap.h"
4
+
5
+ #if __has_include(<UACapacitorAirship/UACapacitorAirship-Swift.h>)
6
+ #import <UACapacitorAirship/UACapacitorAirship-Swift.h>
7
+ #elif __has_include("UACapacitorAirship-Swift.h")
8
+ #import "UaCapacitorAirship-Swift.h"
9
+ #else
10
+ @import UaCapacitorAirshipPlugin;
11
+ #endif
12
+
13
+ @implementation AirshipCapacitorBootstrap
14
+
15
+
16
+ + (void)load {
17
+ NSNotificationCenter *center = [NSNotificationCenter defaultCenter];
18
+ [center addObserverForName:UIApplicationDidFinishLaunchingNotification
19
+ object:nil
20
+ queue:nil usingBlock:^(NSNotification * _Nonnull note) {
21
+
22
+ [AirshipCapacitorAutopilot.shared onApplicationDidFinishLaunchingWithLaunchOptions:note.userInfo];
23
+ }];
24
+ }
25
+ @end
@@ -0,0 +1,8 @@
1
+ /* Copyright Airship and Contributors */
2
+
3
+ @import Foundation;
4
+ @import UIKit;
5
+
6
+ @interface AirshipCapacitorBootstrap: NSObject
7
+
8
+ @end
@@ -3,5 +3,5 @@
3
3
  import Foundation
4
4
 
5
5
  class AirshipCapacitorVersion {
6
- static let version = "1.2.4"
6
+ static let version = "2.0.1"
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ua/capacitor-airship",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Airship capacitor plugin",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -11,6 +11,7 @@
11
11
  "android/build.gradle",
12
12
  "dist/",
13
13
  "ios/Plugin/",
14
+ "ios/Bootloader/",
14
15
  "UaCapacitorAirship.podspec"
15
16
  ],
16
17
  "author": "Airship",