Skip to content

Commit 522d1d7

Browse files
committed
Upgrade to version 4.0.0; update dependencies to Capacitor 8 and Bugfender SDK 3.0.0; add setSDKType method and version generation script.
1 parent 08d1e51 commit 522d1d7

14 files changed

Lines changed: 1666 additions & 2309 deletions

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
22

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ Please check the following URL for a complete API reference: [https://js.bugfend
5252
* [`sendUserFeedback(...)`](#senduserfeedback)
5353
* [`setDeviceKey(...)`](#setdevicekey)
5454
* [`setForceEnabled(...)`](#setforceenabled)
55+
* [`setSDKType(...)`](#setsdktype)
5556
* [Interfaces](#interfaces)
5657
* [Type Aliases](#type-aliases)
5758
* [Enums](#enums)
@@ -389,6 +390,20 @@ setForceEnabled(state: boolean) => void
389390
--------------------
390391
391392
393+
### setSDKType(...)
394+
395+
```typescript
396+
setSDKType(sdkType: string, version: number) => void
397+
```
398+
399+
| Param | Type |
400+
| ------------- | ------------------- |
401+
| **`sdkType`** | <code>string</code> |
402+
| **`version`** | <code>number</code> |
403+
404+
--------------------
405+
406+
392407
### Interfaces
393408
394409

example/.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
22

example/ios/App/App.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@
288288
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
289289
GCC_WARN_UNUSED_FUNCTION = YES;
290290
GCC_WARN_UNUSED_VARIABLE = YES;
291-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
291+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
292292
MTL_ENABLE_DEBUG_INFO = YES;
293293
ONLY_ACTIVE_ARCH = YES;
294294
SDKROOT = iphoneos;
@@ -342,7 +342,7 @@
342342
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
343343
GCC_WARN_UNUSED_FUNCTION = YES;
344344
GCC_WARN_UNUSED_VARIABLE = YES;
345-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
345+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
346346
MTL_ENABLE_DEBUG_INFO = NO;
347347
SDKROOT = iphoneos;
348348
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
@@ -358,7 +358,7 @@
358358
CODE_SIGN_STYLE = Automatic;
359359
DEVELOPMENT_TEAM = RQ6832H3DS;
360360
INFOPLIST_FILE = App/Info.plist;
361-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
361+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
362362
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
363363
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
364364
PRODUCT_BUNDLE_IDENTIFIER = com.bugfender.sdk.capacitor.example;
@@ -377,7 +377,7 @@
377377
CODE_SIGN_STYLE = Automatic;
378378
DEVELOPMENT_TEAM = RQ6832H3DS;
379379
INFOPLIST_FILE = App/Info.plist;
380-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
380+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
381381
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
382382
PRODUCT_BUNDLE_IDENTIFIER = com.bugfender.sdk.capacitor.example;
383383
PRODUCT_NAME = "$(TARGET_NAME)";

example/ios/App/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
platform :ios, '14.0'
1+
platform :ios, '15.0'
22
use_frameworks!
33

44
# workaround to avoid Xcode caching of Pods that requires

0 commit comments

Comments
 (0)