Is it possible to set a custom URL scheme to launch my app from a link but make this a user defined setting?
My app relies on a user defined server url and I would like to be able to set a URL scheme to launch my app using the users custom URL from lets say an email link.
I noticed the info.plist has these references
${EXECUTABLE_NAME}
can I define my own custom reference maybe?
Edit: Turns out these ${EXECUTABLE_NAME} are just references used during build in xcode.
I also learned that the app bundle is read only on device making the info.plist un-editable.
Looks like this is impossible. Anyone have any ideas?
There is no way to add a link to a Settings.bundle to launch your app.
Related
I am trying to submit my first catalyst app to the Mac App Store. I have setup the App Store information in iTunes Connect, and I have confirmed that the info.plist in app has the following key in it:
<key>LSApplicationCategory</key>
<string>public.app-category.business</string>
However when I go to upload to the app store I get the message that I need to add the LSApplicationCategory
ERROR ITMS-90242: "The product archive is invalid. The Info.plist must contain a LSApplicationCategoryType key, whose value is the UTI for a valid category. For more details, see "Submitting your Mac apps to the App Store"."
I have confirmed that both public.app-category.business is correct, and I have also tried using the value "Business". I get the same error message. Is there something else I need to look at?
The key which you are adding to .plist file is wrong. Add below key-value pair. Full list here.
<key>LSApplicationCategoryType</key>
<string>public.app-category.business</string>
slicerdicer's recommendation worked for me. To add some additional detail, you can also set the App Category by going to Project / Targets / General. It's the very first option.
I had sucsessfuly upload two apps using catalyst then the third failed with that error. I found this and seemed to work.
To the info.plist add App Catagory with what ever catagory your app fits. I used Productivity.
I was converting an iOS app to a Mac app, and I was updating the file info.plist, and it was not actually updating the overarching project.
I ended up having to go to the overarching project, under the left side TARGETS tab, I selected my app, went to the Info tab, and added the App Category there.
I want to launch another app which is programmed by other programmer in my own app. I know the method of url scheme but the problem is that I do not know the URL scheme of the app that I want to launch. Also, I googled some website to search the URL scheme yet got nothing. I think it's because the app is not used widely.
Is there any way to get the URL scheme??
Or is there another way to launch the app??
You can inspect the Info.plist file of the app by extracting the .ipa file:
Sync the App to iTunes, if necessary.
Ctrl-Click on the App in iTunes, and use "Show in Finder" to locate the "OtherApp.ipa" file.
Copy "OtherApp.ipa" to a temporary directory, and use "unzip OtherApp.ipa" on the command line to extract the archive.
Open "Info.plist" inside the "Payload/OtherApp" folder.
First of all, you have to know that not every app uses URL schemes. It's possible the app you're trying to launch doesn't use them and in that case you're out of luck.
Take a look at the Info.plist file inside the app bundle and search for the CFBundleURLSchemes key to know if URL schemes are supported.
If you don't find anything I would suggest you to contact the developer directly and telling him what you're trying to achieve.
Anyone know if there's a URL schema for the ooVoo iPhone app?
For example, I'm able to launch the Skype app from my app using "skype:userName?call", but there doesn't appear to be an "oovoo:" URL tag. Did they simply forget to register their custom schema in the app? Or is it possibly named something different?
The following format in an href appears to be valid for the PC version "oovoo:?call?userName" while I was doing some digging, but doesn't work on the iPhone (the ooVoo app never launches). I tested the oovoo: tag from a webpage as well, and Safari just reports the address as invalid.
Thanks.
Try something more general like oovoo://www.google.com.
If you have ooVoo installed, and Safari cannot recognize the scheme, it doesn't exist.
The specific arguments and variables shouldn't matter until you get into the app.
I have created an iOS 4.0 app with a Settings bundle. I am using the InAppSettingsKit (http://www.inappsettingskit.com) which presents the settings in the app. This allows the user to modify those settings directly from within the app, without the need to go to the external iPhone Settings.app. As the settings are accessible from inside the app (and I am doing some custom styling to the in-app settings screen) I would like to stop the Settings bundle from appearing in the iPhone Settings.app. Is this possible?
Any help would be greatly appreciated.
InAppSettingKit allows the use of an internal only settings bundle. Rename Settings.bundle to be this and then the OS wont find it to put it in the Main Settings part
Check out "Some little extras" on the product page
In my iPhone application I keep application parameters in .plist file. However I have to allow user to edit these parameters.
Ex: Safari application setting can be changed in the Settings.
Can anybody assist me how to overcome this problem.
You want to create a settings bundle. The iOS Developer Documentation has a whole section about this.