ArtSabintsev / Siren

Notify users when a new version of your app is available and prompt them to upgrade.
http://sabintsev.com/
MIT License
4.24k stars 407 forks source link

Deeplink Broken #244

Closed AdiAyyakad closed 5 years ago

AdiAyyakad commented 5 years ago

If you're experiencing a problem integrating Siren into your app, please provide the following information when posting a new issue:


Before posting an issue, please make sure your issue has not already been resolved or answered elsewhere.

Common Issue #1:

"Error retrieving iOS version number as there was no data returned."

~Check if your app is available in the US App Store, otherwise add the corresponding country code when setting up Siren.~

Looks like Apple changed the response from an Int to a String šŸ™„

{
 "resultCount":1,
 "results": [
{
"screenshotUrls":["https://is4-ssl.mzstatic.com/image/thumb/Purple118/v4/a1/1c/94/a11c943b-4173-9850-00ea-e7248828d1eb/source/392x696bb.jpg", "https://is2-ssl.mzstatic.com/image/thumb/Purple118/v4/1c/c1/f3/1cc1f390-2e99-2371-e4f7-97e709e465a4/source/392x696bb.jpg", "https://is2-ssl.mzstatic.com/image/thumb/Purple118/v4/37/a4/d9/37a4d9d7-c273-d3e3-c1ef-c0fa7ec2f249/source/392x696bb.jpg", "https://is3-ssl.mzstatic.com/image/thumb/Purple118/v4/03/a9/9a/03a99a25-d700-553f-e658-e8479b9777cf/source/392x696bb.jpg"], "ipadScreenshotUrls":[], "appletvScreenshotUrls":[], "artworkUrl60":"https://is3-ssl.mzstatic.com/image/thumb/Purple118/v4/85/c8/e3/85c8e3b0-d280-8953-2b50-0df1ce635739/source/60x60bb.jpg", "artworkUrl512":"https://is3-ssl.mzstatic.com/image/thumb/Purple118/v4/85/c8/e3/85c8e3b0-d280-8953-2b50-0df1ce635739/source/512x512bb.jpg", "artworkUrl100":"https://is3-ssl.mzstatic.com/image/thumb/Purple118/v4/85/c8/e3/85c8e3b0-d280-8953-2b50-0df1ce635739/source/100x100bb.jpg", "artistViewUrl":"https://itunes.apple.com/us/developer/butterfly-network/id1057222178?uo=4", 
"supportedDevices":["iPhone6s-iPhone6s", "iPhone6sPlus-iPhone6sPlus", "iPadPro-iPadPro", "iPadProCellular-iPadProCellular", "iPadPro97-iPadPro97", "iPadPro97Cellular-iPadPro97Cellular", "iPhoneSE-iPhoneSE", "iPhone7-iPhone7", "iPhone7Plus-iPhone7Plus", "iPad611-iPad611", "iPad612-iPad612", "iPad71-iPad71", "iPad72-iPad72", "iPad73-iPad73", "iPad74-iPad74", "iPhone8-iPhone8", "iPhone8Plus-iPhone8Plus", "iPhoneX-iPhoneX", "iPad75-iPad75", "iPad76-iPad76", "iPhoneXS-iPhoneXS", "iPhoneXSMax-iPhoneXSMax", "iPhoneXR-iPhoneXR"], "kind":"software", "features":[], "isGameCenterEnabled":false, "advisories":["Frequent/Intense Medical/Treatment Information"], "trackCensoredName":"Butterfly iQ", "languageCodesISO2A":["EN"], "fileSizeBytes":"255713280", "sellerUrl":"https://www.butterflynetwork.com", "contentAdvisoryRating":"17+", "trackViewUrl":"https://itunes.apple.com/us/app/butterfly-iq/id1183035589?mt=8&uo=4", "trackContentRating":"17+", "trackId":"1183035589", "trackName":"Butterfly iQ", "genreIds":["6020"], "minimumOsVersion":"11.0", "isVppDeviceBasedLicensingEnabled":true, "primaryGenreId":6020, "releaseDate":"2018-09-25T00:09:27Z", "primaryGenreName":"Medical", "releaseNotes":"Improvements to Butterfly iQ probe thermal management.", "sellerName":"Butterfly Network, Inc.", "currency":"USD", "wrapperType":"software", "version":"1.1.4", "artistId":"1057222178", "artistName":"Butterfly Network", "genres":["Medical"], "price":0.00, 
"description":"Butterfly iQ provides whole body ultrasound imaging with just one probe.\n\nScan.\n18 clinical presets and familiar touch interactions for unprecedented ease of use. \n\nUpload. \nCapture images or clips and upload to your HIPAA compliant Butterfly Cloud.\n\nReview.\nAccess your archives anywhere from mobile or desktop.\n\n(Fictional patient details displayed in screenshot to illustrate app functionality.)", "bundleId":"com.butterflynetinc.iq", "formattedPrice":"Free", "currentVersionReleaseDate":"2018-11-01T21:09:55Z", "averageUserRating":5.0, "userRatingCount":6}]
}

So the decoder fails and we don't get a deep link.

AdiAyyakad commented 5 years ago

I wasn't on the latest version šŸ˜æ Silly me for plowing right through that

ArtSabintsev commented 5 years ago

All good :)

Sent with GitHawk