run_loop_tcc 2.1.5 → 2.1.6
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.
- checksums.yaml +4 -4
- data/lib/run_loop/device.rb +5 -7
- data/lib/run_loop/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 27744ea4f89f05c22cd2e73a8b286252eb42460e
|
|
4
|
+
data.tar.gz: 720a4d29a930a39fea719bb8f8c2da50890e7975
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 385acfd34f5e3e6511e9d5f68a5164fbfa0a0af10c7575189060ddd3b31bac21e85976e1a7502dc55526f730ba326beb016f3458db3bc764169a5adc029cc761
|
|
7
|
+
data.tar.gz: 3ef5b2acd02f6c55453663d045cde2283e5c4f827592dfc1261d9350c1fe260cdc636f0c98eda2724c50942967a0069ecaa5c4662d3aab5a9974ff4705c360f7
|
data/lib/run_loop/device.rb
CHANGED
|
@@ -483,17 +483,15 @@ version: #{version}
|
|
|
483
483
|
end
|
|
484
484
|
pbuddy.plist_set("#{bundle_id}", 'dict', nil, location_plist)
|
|
485
485
|
pbuddy.plist_set("#{bundle_id}:BundleId", 'string', bundle_id, location_plist)
|
|
486
|
-
pbuddy.plist_set("#{bundle_id}:Authorization", 'integer',
|
|
487
|
-
pbuddy.plist_set("#{bundle_id}:SupportedAuthorizationMask", 'integer',
|
|
486
|
+
pbuddy.plist_set("#{bundle_id}:Authorization", 'integer', 4, location_plist)
|
|
487
|
+
pbuddy.plist_set("#{bundle_id}:SupportedAuthorizationMask", 'integer', 7, location_plist)
|
|
488
488
|
|
|
489
|
+
# Authorization 2 mask 3 = Location Services granted
|
|
490
|
+
# Authorization 4 mask 7 = Location Services && Background Location Services granted
|
|
491
|
+
#
|
|
489
492
|
# BundleId - String - bundle_id
|
|
490
493
|
# Authorization - Integer - 2
|
|
491
494
|
# SupportedAuthorizationMask - Integer - 3
|
|
492
|
-
|
|
493
|
-
# Add :new.id Dict
|
|
494
|
-
# Add :new.id:BundleId string com.my.bundleid
|
|
495
|
-
# Add :new.id:SupportedAuthorizationMask integer 3
|
|
496
|
-
# Add :new.id:Authorization integer 2
|
|
497
495
|
end
|
|
498
496
|
|
|
499
497
|
# @!visibility private
|
data/lib/run_loop/version.rb
CHANGED