Giter Site home page Giter Site logo

Comments (6)

mibrahim01 avatar mibrahim01 commented on August 16, 2024

2012-4-11 18:57:09 shouldPromptForRating:appStoreCountry=AU
2012-4-11 18:57:09 shouldPromptForRating:appStoreID=502431430
2012-4-11 18:57:09 shouldPromptForRating:ratedThisVersion=NO
2012-4-11 18:57:09 shouldPromptForRating:declinedThisVersion=NO
2012-4-11 18:57:09 shouldPromptForRating:firstUsed=2012-04-10 20:06:14 +0000
2012-4-11 18:57:09 shouldPromptForRating:Date Diff (Current Value=64254.933416, Setting=863.999981)
2012-4-11 18:57:09 shouldPromptForRating:usesCount=26
2012-4-11 18:57:09 shouldPromptForRating:lastReminded=(null)
2012-4-11 18:57:09 checkForConnectivityInBackground:iTunesServiceURL=http://itunes.apple.com/lookup?country=AU&id=502431430
2012-4-11 18:57:09 Segment Count : 2
2012-4-11 18:57:10 Segment Count : 2
2012-4-11 18:57:10 Reachability Flag Status: -R ------- networkStatusForFlags

2012-4-11 18:57:10 token ; 2662eb7f0ce7eb59e314f1a3df8cdc31e6cf4025d92e44f48fc2f5ec8bb9206c
2012-4-11 18:57:10 iRateCouldNotConnectToAppStore: Error
2012-4-11 18:57:10 Error Domain=iRate Code=2 "Service bundleID and applicationBundleID did not match" UserInfo=0x2bce30 {NSLocalizedDescription=Service bundleID and applicationBundleID did not match}

from irate.

nicklockwood avatar nicklockwood commented on August 16, 2024

Can you tell me your app's bundle ID and paste the code you are usingo to configure iRate, and I'll try to reproduce this at my end.

from irate.

mibrahim01 avatar mibrahim01 commented on August 16, 2024

Bundle IDcom.gamezebo.wannaplay
Apple ID
502431430

The Application is available in Pakistan, Canada and Indonesia. It's NOT available in US, Australia

from irate.

yawarkhan avatar yawarkhan commented on August 16, 2024

FYI,
It is not happening on all our test devices. iRate popup is appeared on few devices.
Actually "http://itunes.apple.com/lookup?country=AU&id=502431430" gives empty set instead of valid JSON response.
It gives empty set because we haven't yet released the application in 'AU' region.
The problem is - why is it picking country 'AU' as aapStoreCountry (which is my local country but not App Store country)?
Here are the configuration settings,

[iRate sharedInstance].appStoreID = 502431430;
[iRate sharedInstance].applicationBundleID = @"com.gamezebo.wannaplay";
[iRate sharedInstance].daysUntilPrompt = 0.01;
[iRate sharedInstance].usesUntilPrompt = 1;
[iRate sharedInstance].eventsUntilPrompt = 0;
[iRate sharedInstance].remindPeriod = 3;

from irate.

nicklockwood avatar nicklockwood commented on August 16, 2024

Okay, I understand the issue. I use the device locale for the app store country by default because the vast majority of users use the app in the same country they bought it, and there's no way to find out the actual app store country programmatically.

Your app is not available to buy in Australia, so it's reasonable to assume that the number of users with your app in Australia is essentially zero (other than yourself, obviously, but you're the developer).

I don't really see this as a problem because when the app is released it won't cause a significant number of missed ratings, however if it bothers you, you can set the following code:

[iRate sharedInstance].appStoreCountry = @"PK";

Which will force the app to always check the Pakistan app store.

Nick

from irate.

mibrahim01 avatar mibrahim01 commented on August 16, 2024

Thanks for that Nick!

from irate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.