My app store app link is https://itunes.apple.com/us/app/appname/appid?l=pl&ls=1&mt=8
How can i change the country code "us" so it will be listed on app store below a country code that i will choose?
If you want to link to a specific country, you have to change the "us" country code to one from Apple's country codes list: https://help.apple.com/app-store-connect/#/dev997f9cf7c
Examples:
https://itunes.apple.com/us/app/id0123456789 --> US
https://itunes.apple.com/fr/app/id0123456789 --> France
https://itunes.apple.com/de/app/id0123456789 --> Germany
Edit after end of the App Store affiliate program:
Recommended (=best user experience):
If you want to get a link that automatically "translates" into the user's language use the "geo" subdomain:
https://geo.itunes.apple.com/app/id0123456789 (You can actually leave the country code in the link, still gets changed to the right store)
Related
I am building an application for use by my company that has a number of features. One thing I am interested in adding if at all possible is linking a specific format of internal ID to my application if it exists in an email, much the same way that UPS/USPS/FEDEX tracking numbers are converted into links in the email app.
Is it possible to build an app extension that would create a link from an ID that is in an email, and launch my application when it is clicked?
For example, if the following ID (1453833784.127410) is in the body or the subject of an email message, the end user could click it and have it launch the app.
My experience in app extensions is limited so any assistance would be appreciated.
Thank you
No, this is not possible. There is no API that can hook into the Mail app (or any other app) such that text in a certain format gets translated into a URL for a 3rd party app.
If you have any control of the email generation, the creation of the original email should be updated to include the link.
You can use custom url schemes for example:
When user click the link yourapp://1453833784.127410 in the email if the app install it will open the app to handle the url via application:openURL:options: in app delegate
You can define custom url schemes in your app's Info.plist
URL types <Array>
Item 0 <Dictionary>
URL identifier <String> com.example.yourapp
URL Schemes <String> yourapp
This custom url schemes solution should work on Android app too.
I'm adding the ability for users to share a promo code and link to my app via
NSString *string = [NSString stringWithFormat:#"Share my app ! Use my referral code %# ", self.actualPromoCodeLabel.text];
NSURL *URL = [NSURL URLWithString:#"tel://1234567890x101"];
However, because the app is being submitted now, how can I know what value to include in the NSURL so that when clicked, it bring the app to my app in the apps tore?
This is absolutely the easiest thing you have probably overlooked and once you know the answer you'll slap your forehead and say ohhh, duh!
All apps are unique by their App ID:
A unique number that Apple assigns to the app.
When you sign into iTunes Connect simply navigate to the app in question and as of now (2015 April 5) under the 'General Information' section you will find an 'Apple ID' number under your App Icon
Now you have your unique link to use in sharing circumstances.
Generally, when you share a link to the app store via url it will be in this format:
https://itunes.apple.com/us/app/appname/idYOURID#?mt=8
Where does this link come from you may ask?
Simple. Apple gave us iTunes Link Maker for you to get your own link to an already published work. You can search for anything in 'iOS Apps' and see the links have the same foundation, the only thing that's different is your app name and app ID #
So lets say your ID # is 123456789 and your app name is Example :
https://itunes.apple.com/us/app/example/id123456789?mt=8
Now lets say your app has more than one word in the name followed by a space, you would change the space for a hyphen, so lets say your app name is now Share Example :
https://itunes.apple.com/us/app/share-example/id123456789?mt=8
Now all you have to do is include this in any url hyperlinks within your app before you submit to the store.
Now just share!
NSString *appStoreLink = #"https://itunes.apple.com/us/app/share-example/id123456789?mt=8";
NSString *string = [NSString stringWithFormat:#"Share my app ! Using this link : %# ", appStoreLink];
This works in development so you can test as you as go prior to submission. The only downfall to this is that Apple can change it without notice. But a platform with that many apps, I don't think they would alter a prefix/suffix search specific url too often
Recently I used rottentomatoes facebook app to review movies. When I review a movie, rottent tomatoes creates the following story.
If you look closely there is a "see full review" link at the end of the review text. This link is created by facebook (I think so because it has fb ref parameters at the end) and refers to the actual review on the site.
Now the problem is I have an app that uses "video.movie" type with "video.rates" action. But when I create review stories with my app, the "see full review" link does not appear
Is there any flag or property that needs to be set in order to get "see full review" link.
"video.rates" - reference & guide
Finally figured it out: When generating the story if you use review_text property of video.rates action, then facebook will not generate see full review link.
So if you want full review link, dont use the review_text property. Simple!
My paid iOS app is under review to be released only in the Japan App Store. I'd like to create the free version with a link to paid version, but don't have the URL of the paid version.
http://itunes.apple.com/linkmaker/ is mentioned in this question, but when I search for my app there, it doesn't show up.
Another option suggested is to create a permalink on our domain, but that will force the user through extra redirects.
iTunes connect gives my app url as starting with "http://itunes.apple.com/us/app/dumi-shuki-ying-yu/" Clicking that link gives a warning that it's the app is currently only available in the US (though we released it only for Japan).
I have the SKU and bundle ID, but what can I use for the URL?
This works on my end (Xcode 5 - iOS 7 - Device!):
itms-apps://itunes.apple.com/app/idYOUR_APP_ID
Code snippet (you can just copy& paste it):
#define YOUR_APP_STORE_ID 123456789 // Change this one to your app ID (get it from iTunes Connect)
static NSString *const iOS7AppStoreURLFormat = #"itms-apps://itunes.apple.com/app/id%#";
[NSURL URLWithString:[NSString stringWithFormat:iOS7AppStoreURLFormat, YOUR_APP_STORE_ID]]; // Would contain the right link
Pay attention that we didn't use the app name (isn't needed and it is bad to use because it's subject to change). On iOs 7 you can also use "http" instead of "itms-apps" and that would have same result (won't open safari first like on older OS).
Last important thing is that we haven't used the country data on the link (usually "us" or any other) so the device would select the relevant one. If you do write "us" on the link (like the one you get from iTunes Link Maker) if you open that on Japanese device if could show an alert because store is probably set to Japan and won't open the link.
The link you get in iTunes Connect should work just by replacing http:// with itms-apps://.
That being said this alert is strange, do you have anything linked to your iTunes account set to U.S English? I'm guessing this is just automatic, and once your app is approved this link should work provided the user that clicks the link's iTunes account is associated with the Japanese store.
Is there a way to check it?
I have an application URL, which I don't want to be opened expect if the user have a uk appstore. unfortunately, this application is available in many country, so when I put 'gb' on the link, it be redirected to the local region of the user.
For iOS 13+, check the SKStoreFront class. It has a countryCode that returns the country code belonging to the user's current App Store region.
Swift
if let storefront = SKPaymentQueue.default().storefront {
print(storefront.countryCode) // Returns an Alpha-3 country code (USA, GBR etc.)
}
Obj C
[SKPaymentQueue defaultQueue].storefront.countryCode; // Returns an Alpha-3 country code (USA, GBR etc.)
You should be able to access the SKStoreFront instance by adding the StoreKit framework to your project, even if your app does not offer any purchases.
For more information, check out: https://developer.apple.com/documentation/storekit/skstorefront
You could use the in-app purchase Store Kit to achieve this.
Request the product list using SKProductsRequest then check the returned SKProduct's priceLocale to see if the user's AppStore is the UK one.