Skip to content

Commit 18bf09f

Browse files
authored
Release 8.0.0 (#56)
1 parent 7c3b69b commit 18bf09f

33 files changed

+318
-331
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,15 @@ on: [pull_request]
55
jobs:
66
build:
77
runs-on: macos-latest
8+
env:
9+
DEVELOPER_DIR: /Applications/Xcode_12.app/Contents/Developer
810
steps:
911
- uses: actions/checkout@v2
1012

1113
- uses: actions/setup-java@v1
1214
with:
1315
java-version: "12.x"
1416

15-
- uses: actions/cache@v1
16-
with:
17-
path: ios/Carthage
18-
key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }}
19-
2017
- name: Setup Appcelerator
2118
run: ./scripts/setup_appc.sh ${{ secrets.APPC_USER_NAME }} ${{ secrets.APPC_PASSWORD }}
2219

.github/workflows/release.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
release:
1010
runs-on: macos-latest
11+
env:
12+
DEVELOPER_DIR: /Applications/Xcode_12.app/Contents/Developer
1113
steps:
1214
- uses: actions/checkout@v2
1315

@@ -32,11 +34,6 @@ jobs:
3234
NOTES="${NOTES//$'\r'/'%0D'}"
3335
echo ::set-output name=NOTES::"$NOTES"
3436
35-
- uses: actions/cache@v1
36-
with:
37-
path: ios/Carthage
38-
key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }}
39-
4037
- name: Setup Appcelerator
4138
run: ./scripts/setup_appc.sh ${{ secrets.APPC_USER_NAME }} ${{ secrets.APPC_PASSWORD }}
4239

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ xcuserdata
1616

1717
.idea/
1818
libs/
19+
build/
1920

2021
android/documentation
2122
android/example
@@ -31,4 +32,5 @@ ios/*.zip
3132
ios/Airship
3233
ios/Carthage
3334
ios/platform/*.framework
35+
ios/platform/*.xcframework/*
3436

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Airship Titanium Module
22

3+
## Version 8.0.0 - September 29, 2020
4+
Major release for iOS Airship SDK 14.1.2 and Android SDK 14.0.1. The major changes include iOS 14 support and bug fixes for In-App Automation.
5+
36
## Version 7.1.0 - August 20, 2020
47
Minor release bundling the following SDK updates:
58

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dependencies {
2-
def airshipVersion = "13.3.2"
2+
def airshipVersion = "14.0.1"
33

44
// ADM & FCM push providers
55
implementation "com.urbanairship.android:urbanairship-fcm:$airshipVersion"

android/manifest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# this is your module manifest and used by Titanium
33
# during compilation, packaging, distribution, etc.
44
#
5-
version: 7.1.0
5+
version: 8.0.0
66
apiversion: 4
77
architectures: arm64-v8a armeabi-v7a x86 x86_64
88
description: Airship Titanium module
@@ -15,4 +15,4 @@ name: AirshipTitanium
1515
moduleid: ti.airship
1616
guid: 240dc468-ccad-479d-9510-14e9a7cae5c9
1717
platform: android
18-
minsdk: 9.0.0.GA
18+
minsdk: 9.2.0.GA

android/src/ti/airship/AirshipTitaniumModule.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import com.urbanairship.UAirship;
77
import com.urbanairship.actions.ActionRunRequest;
88
import com.urbanairship.actions.AddCustomEventAction;
9-
import com.urbanairship.iam.InAppMessageManager;
9+
import com.urbanairship.automation.InAppAutomation;
1010
import com.urbanairship.json.JsonException;
1111
import com.urbanairship.json.JsonMap;
1212
import com.urbanairship.json.JsonValue;
@@ -116,13 +116,13 @@ public boolean getIsUserNotificationsOptedIn() {
116116
@Kroll.method
117117
@Kroll.getProperty
118118
public boolean getIsInAppAutomationPaused() {
119-
return InAppMessageManager.shared().isPaused();
119+
return InAppAutomation.shared().isPaused();
120120
}
121121

122122
@Kroll.method
123123
@Kroll.setProperty
124124
public void setIsInAppAutomationPaused(boolean paused) {
125-
InAppMessageManager.shared().setPaused(paused);
125+
InAppAutomation.shared().setPaused(paused);
126126
}
127127

128128
@Kroll.method

android/src/ti/airship/TiAutopilot.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ public AirshipConfigOptions createAirshipConfigOptions(Context context) {
6464
.setInProduction(properties.getBool(IN_PRODUCTION, false))
6565
.setFcmSenderId(properties.getString(GCM_SENDER, null))
6666
.setDataCollectionOptInEnabled(properties.getBool(DATA_COLLECTION_OPT_IN, false))
67-
.setSite(parseCloudSite(properties.getString(CLOUD_SITE, null)));
67+
.setSite(parseCloudSite(properties.getString(CLOUD_SITE, null)))
68+
.setUrlAllowListScopeOpenUrl(new String[]{"*"});
6869

6970

7071
// Accent color

ios/AirshipTitanium.xcodeproj/project.pbxproj

Lines changed: 248 additions & 194 deletions
Large diffs are not rendered by default.

ios/AirshipTitanium.xcodeproj/xcshareddata/xcschemes/AirshipTitanium.xcscheme

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)