x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Custom url scheme for iOS app

Does anybody successfully set the custom URL scheme for the iOS app from the Project settings in the UE4 Editor?

I set the value in the "Additional Plist Field" then launched the app on the device. My app runs fine, but my iPhone does not recognize the url scheme of ue4myiosapp:// .

The value which I set to field is

 <key>CFBundleURLTypes</key><array><dict><key>CFBundleURLSchemes</key><array><string>ue4myiosapp</string></array></dict></array>

Thank you in advance.

Product Version: Not Selected
Tags:
more ▼

asked Apr 17 '15 at 05:26 AM in Packaging & Deployment

avatar image

soesin
1 1 2 2

avatar image Ravlek STAFF Apr 17 '15 at 01:05 PM

You can verify that key-value makes it in to the generated plist by either looking in the Game/Intermediate/IOS directory (Engine/Intermediate/IOS if it is content only) or by opening up the IPA with a zip utility and looking at the included plist. I would suggest doing both just to make sure it is in both places. If it is not in the final plist in the IPA, let me know as that means there is a bug of some kind.

-Pete

avatar image soesin Apr 17 '15 at 09:06 PM

Thank you for your reply Pete.

I checked info.plist in the IPA file and found following line only for the url scheme.

     <key>CFBundleURLTypes</key>
     <array>
         <dict>
             <key>CFBundleURLSchemes</key>
             <array>
                 <string>ue4dev</string>
             </array>
         </dict>
     </array>

It is obvious that the value of 'ue4dev' comes from the "Bundle Name" field of the Project settings.

I also confirmed that I can launch my app with ue4dev:// url scheme, but could not from the ue4myiosapp:// that I expected.

Should I report this behavior as a bug or feature request?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Report it as a feature request. I don't think we realized somebody might want to override the URLScheme so it just needs to be added as a project settings.

-Pete

more ▼

answered Apr 17 '15 at 09:10 PM

avatar image

Ravlek STAFF
1.9k 4 6 34

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question