Skip to content
This repository has been archived by the owner on Nov 22, 2020. It is now read-only.

Commit

Permalink
Merge pull request #136 from ArtSabintsev/bugfix/DeviceOS-check
Browse files Browse the repository at this point in the history
Bugfix/device os check
  • Loading branch information
ArtSabintsev authored Jul 14, 2016
2 parents 6f1fc7e + 3b31db7 commit da0e51f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Harpy.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Harpy"
s.version = "4.0.0"
s.version = "4.0.1"
s.summary = "Notify users that a new version of your iOS app is available, and prompt them with the App Store link."
s.homepage = "https://github.com/ArtSabintsev/Harpy"
s.platform = :ios, '8.0'
Expand Down
4 changes: 2 additions & 2 deletions Harpy/Harpy.m
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ - (NSURL *)itunesURL {
- (BOOL)isUpdateCompatibleWithDeviceOS:(NSDictionary<NSString *, id> *)appData {
NSArray<NSDictionary<NSString *, id> *> *results = appData[@"results"];

if (results != nil) {
NSString *requiresOSVersion = results[0][@"minimumOsVersion"];
if (results.count > 0) {
NSString *requiresOSVersion = [results firstObject][@"minimumOsVersion"];
if (requiresOSVersion != nil) {
NSString *systemVersion = [UIDevice currentDevice].systemVersion;
if (
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ If an app update is available, Harpy checks to make sure that the version of iOS
## Testing Harpy
Temporarily change the version string in Xcode (within the `.xcodeproj`) to an older version than the one that's currently available in the App Store. Afterwards, build and run your app, and you should see the alert.

If you currently don't have an app in the store, change your bundleID to one that is already in the store. In the sample app packaged with this librart, we use the [iTunes Connect Mobile](https://itunes.apple.com/us/app/itunes-connect/id376771144?mt=8) app's bundleID: `com.apple.itunesconnect.mobile`.
If you currently don't have an app in the store, change your bundleID to one that is already in the store. In the sample app packaged with this library, we use the [iTunes Connect Mobile](https://itunes.apple.com/us/app/itunes-connect/id376771144?mt=8) app's bundleID: `com.apple.itunesconnect.mobile`.

## Important Note on App Store Submissions
The App Store reviewer will **not** see the alert.
Expand Down

0 comments on commit da0e51f

Please sign in to comment.