UrbanApps/Armchair

rateApp() not working, "Write Review" page in AppStore cannot be opened.

csemresari opened this issue · 3 comments

Currently Armchair's rateApp() function is not working.

In order to open the "Write Review" page in AppStore:

1) Use

Armchair.opensInStoreKit(false)

2) Change Armchair's reviewURLString() like below

fileprivate func reviewURLString() -> String {

        let workingReviewURL = "https://itunes.apple.com/us/app/id\(appID)?ls=1&mt=8&action=write-review"
        return workingReviewURL
}

Nice find. Please submit a pull request that has this as a backwards compatible value per iOS version. Don't forget about the affiliate code and affiliate campaign values as well.

What is the plan for updating this for iOS 11? @csemresari are you working on a fully backwards compatible change? I noticed this forked change which seems good enough for most of us to proceed. I'd prefer to use a formal release from this repo, but I am concerned that it lacks support for iOS 11 a good while after the update was released...

I've updated master with this change, and am pushing cocoapod version 0.3.4 now.