Is there any chance to get the app link(link from AppWorld) directly from the code?
It will be very helpful for me since I have more distributions of the same app and don't want to hard-code those links anymore. The link is used to open AppWorld at the app's page in order to update it.
I know that the application descriptor is edited after the app is published, and maybe the appWorld link is included into descriptor.
The App Id is a part of the application metadata. It has the name "RIM_APP_WORLD_ID".
// If you are targeting 4.3+, use this:
String myAppName = "My Amazing App"; //Name of your app
CodeModuleGroup group = CodeModuleGroupManager.load( myAppName );
String appid = group.getProperty("RIM_APP_WORLD_ID");
Check out this sample code Getting Info from the App World
Related
We have been using firebase dynamic link on android for a while.It was working fine in android.
We have decided to build our project on IOS platform also.Now we are facing some problems in dynamic link.
On pressing the link our application does not open.We also following the tutorial to integrate dynamic link on IOS.
1.Added .Plist file.
2.Added associated Domain in capabilities.(applinks:domain-link)
3.Added URL Types in info.
4.Added Team ID.
Seems like we are following the exact steps in the documentation. And yet Dynamic link is not working for us.
Can anyone help us in resolving this issue?
check
Apple Developer enable your Associated Domains from your app Identifiers
check AASA file team id and bundle id from https://{your set domain}.page.link/apple-app-site-association
AASA effective not real time
open your note app input https://xxx.page.link/ooo test (not on browser)
I hope I can help you
You need to update your AppDelegate.m file as well. Follow from steps 4 mentioned in the section Open Dynamic Links in your app here
please cross check associated domains : (it must not contain http or https e.g. applinks:myapp.page.link ) .and Dynamic link is easily work on iOS Simulator , I don't get any issues.
And if you creating dynamic link from firebase ios sdk then below code will be useful
guard let link = URL(string: "Write your link here and parameters") else { return }
let dynamicLinksDomainURIPrefix = "https://racematesios.page.link" //domain-link
let linkBuilder = DynamicLinkComponents(link: link, domainURIPrefix: dynamicLinksDomainURIPrefix )
linkBuilder!.iOSParameters = DynamicLinkIOSParameters(bundleID: "Bundle ID")
linkBuilder!.iOSParameters?.appStoreID = "App store ID"
guard let longDynamicLink = linkBuilder?.url else { return }
print("The long URL is: \(longDynamicLink)")
i'm using a Flutter App and on Android i can read internal link with custom parameter, however, on iOS i can not, the App is opened but onLink.listen is never called. I did all iOS platform configuration posted on documentation.
The link used to open the App looks like (Long Dynamic Link):
https://sample.page.link/?link=https://sample.page.link/test?CUSTOM_PARAM=fooBar&apn=br.com.test&isi=12345&ibi=br.com.test
The idea is to use only one dynamic link and pass dynamic data as custom parameter. Did anyone face that problem?
How to Open an iOS App using Firebase Dynamic Links and Pass or get Parameters To an App Via Custom URL Scheme in iOS(swift)?
for eg :- https://q3tyj.app.goo.gl/abcd
My URL Scheme is ‘q3tyj.app.goo.gl’ in iOS app in Url Types.
If I type q3tyj.app.goo.gl in safari, I am able to open the application. But if I type q3tyj.app.goo.gl with some extra parameter like https://q3tyj.app.goo.gl/abcd in safari, , I am not able to open the application.
please also explain me how to get “link” parameter (which associated with dynamic link) from dynamic link in iOS app ( Swift ) .
I followed steps which were mentioned in Firebase.google.com for iOS ( Swift ).but its not working.
Thanks,
Nirav Virpara
It's hard to know exactly where your error is, but a few things to help you debug:
If you go to https://q3tyj.app.goo.gl/apple-app-site-association, you should see some JSON that points to your app. If you don't see this, make sure you've entered your team ID and your App Store ID in the project settings in the Firebase console
Make sure you're using your Bundle ID, not the shortlink domain, as your custom URL scheme in Xcode
Make sure you've enabled Associated Domains in the Capabilities tab of your Xcode project, and your domain looks like applinks:q3tyj.app.goo.gl
Universal Links (and, therefore, Dynamic Links) generally don't work if you type them directly into the Safari address bar. Instead, try typing the URL into an app like Notes and then clicking on them from there.
Good luck!
If you type https://q3tyj.app.goo.gl/apple-app-site-association this link in your browser and check, you will end up seeing a json, meaning your apple-app-site-association is correctly configured on your google website. However, you need to make sure that teamid in your google console or appid is correct.
I'm using Mobile First Platform 7 hybrid Mobile app, but I'm not using MFP server instead of that WebSphere Liberty profile, and I can send and received the apple push notification, but during the implementation of Localized Formatted Strings, I have this issue, when the notification arrives the alert message does not display the Localized string according to the key. and it shows "GAME_PLAY_REQUEST_FORMAT" instead of “Jenna and Frank have invited you to play Monopoly”.
Reference.. Localized Formatted Strings https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/TheNotificationPayload.html#//apple_ref/doc/uid/TP40008194-CH107-SW7
The service is sending the follow structure.
aps = {
alert = {
"action-loc-key" = Open;
"loc-args" = (
Jenna,
Frank
);
"loc-key" = "GAME_PLAY_REQUEST_FORMAT";
};
badge = 12;
sound = default;
};
And I added the key and value "GAME_PLAY_REQUEST_FORMAT" = "%2$# and %1$# have invited you to play Monopoly"; in the message.string files
and I added in any of the folders located over the image fr.lproj, es.lproj, en.lproj.. etc.
I also check that my device has the proper configuration in settings -> general -> language®ion -> English
I also notice that Localizable.strings is the file in native ios app and the file located in the hybrid app is messages.strings
Is there any step that I miss?
I'll appreciate any suggestion
After researching I found the way to add Localization.string file and the language, This link help me to understand more about it https://www.raywenderlich.com/64401/internationalization-tutorial-for-ios-2014, I followed the steps and then I compared whit my hybrid app then
Then I added the folders and the files in strategic position and that works.
The structure is below,
This question already has answers here:
Get itunes link for app before submitting
(17 answers)
Closed 8 years ago.
I have a requirement for an app to share a link to itself on the app store via social sharing i.e. this sort of thing:
"I've been using this great app, you can get it at: "
Therefore the app needs to know what its app store url will be before it is submitted to the app store, is this possible?
You can use your app ID to construct the URL. You can get the ID from the iTunesConnect page for the app, then construct the URL thus:
#define APP_ID 653451876
NSString* url = [NSString stringWithFormat: #"http://itunes.apple.com/us/app/cap-that!/id%d",APP_ID];
See there https://stackoverflow.com/a/12764735/877032
You may be able to make an educated guess using the current format of the iTunes URLs which is:
https://itunes.apple.com/{country_code}/app/{app_name}/id{app_id}?mt=8
Once you create a "New App" in iTunes Connect, you should get your App id, so you could plug it into the URL.
Another alternative, if you have the ability to make a simple HTTP call from your app then you could simply bake the boilerplate portion of the URL into the code (e.g. https://itunes.apple.com/us/app/{app_name}/id{app_id}?mt=8), and then when your app launches, reach out to the URL where you've specified the proper id of your app. Save that in NSUserDefaults and construct the URL in code from that point on.
If you do not have a website or custom back-end, you could look into a service like Parse to help you out.
Good Luck!
If you are the developer of the app, in google play store you can know it, for example: https://play.google.com/store/apps/details?id=com.madfingergames.deadzone
https://play.google.com/store/apps/details?id=com.whawhawhat.referencejquery
You see that there is https://play.google.com/store/apps/details?id= and then the Package name
which is something like: com.mycompany.myfirstapp
In the iTunes store an app gets an id so it's not possible.
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.