Skip to content

Commit

Permalink
Release/4.0.0 (#18)
Browse files Browse the repository at this point in the history
* refactor: bump airship 17.7.3 -> 18.2.0, minor changes for new Airship API

* doc: update changelog for 4.0.0
  • Loading branch information
andrew-tran-infillion authored Jun 27, 2024
1 parent 061d43b commit 3286833
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a ChangeLog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

[4.0.0] April 24, 2024
===============================
# Changed
- Airship dependency version from 17.7.4 -> 18.2.0

[3.3.0] April 24, 2024
===============================
# Fixed
Expand Down
4 changes: 2 additions & 2 deletions GimbalAirshipAdapter.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

Pod::Spec.new do |s|
s.version = "3.3.0"
s.version = "4.0.0"
s.name = "GimbalAirshipAdapter"
s.summary = "An adapter for integrating Gimbal place events with Airship."
s.documentation_url = "https://github.com/gimbalinc/airship-adapter-ios"
Expand All @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
s.source_files = "Pod/Classes/*"
s.requires_arc = true
s.dependency "GimbalXCFramework", "~> 2.94.0"
s.dependency "Airship", "~> 17.7.3"
s.dependency "Airship", "~> 18.2.0"
s.pod_target_xcconfig = {
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386'
}
Expand Down
4 changes: 2 additions & 2 deletions Pod/Classes/GimbalAirshipAdapter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ fileprivate let defaultsSuiteName = "arshp_gmbl_def_suite"

NotificationCenter.default.addObserver(self,
selector: #selector(AirshipAdapter.updateDeviceAttributes),
name: AirshipChannel.channelCreatedEvent,
name: AirshipNotifications.ChannelCreated.name,
object: nil)

self.isAdapterStarted = defaults.bool(forKey: wasStartedKey)
Expand Down Expand Up @@ -293,7 +293,7 @@ private class AirshipGimbalDelegate : NSObject, PlaceManagerDelegate {
let regionEvent = RegionEvent(regionID: visit.place.identifier,
source: source,
boundaryEvent: boundaryEvent) {
Airship.analytics.addEvent(regionEvent)
Airship.analytics.recordRegionEvent(regionEvent)
}

if boundaryEvent == .enter, shouldCreateCustomEntryEvent {
Expand Down

0 comments on commit 3286833

Please sign in to comment.