Skip to content

Commit

Permalink
hotfix/loc 549 prevent permissions request (#4)
Browse files Browse the repository at this point in the history
* refactor: disable automatic location permissions request and update airship version

* chore: update podspec version

---------

Co-authored-by: Andrew Tran <andrew.tran@gimbal.com>
  • Loading branch information
1 parent 86e83e9 commit f126a25
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ 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).

Version 2.0.0 March 1, 2023
===============================
# Changed:
- Prevent Gimbal from requesting location permissions automatically
- Airship version from 16.10.7 -> 16.11.1


Version 1.1.0 January 31, 2023
===============================
# 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 = "1.1.1"
s.version = "2.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.93"
s.dependency "Airship", "~> 16.10.7"
s.dependency "Airship", "~> 16.11.1"
s.pod_target_xcconfig = {
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386'
}
Expand Down
2 changes: 1 addition & 1 deletion Pod/Classes/GimbalAirshipAdapter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ fileprivate let defaultsSuiteName = "arshp_gmbl_def_suite"
return
}

Gimbal.setAPIKey(key, options: nil)
Gimbal.setAPIKey(key, options: ["MANAGE_PERMISSIONS" : false])
Gimbal.start()
updateDeviceAttributes()
print("Started Gimbal Adapter. Gimbal application instance identifier: \(Gimbal.applicationInstanceIdentifier() ?? "⚠️ Empty Gimbal application instance identifier")")
Expand Down

0 comments on commit f126a25

Please sign in to comment.