URL scheme in Info.plist

I use the following entry in Info.plist to make the program handle the "tidal" url scheme, but it launches the program without the URL itself.

The entry is:

Code Block
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>CFBundleURLName</key>
<string>org.strawberrymusicplayer.strawberry</string>
<key>CFBundleURLSchemes</key>
<array>
<string>tidal</string>
</array>
</dict>
</array>


Full Info.plist here:

https://github.com/strawberrymusicplayer/strawberry/blob/master/dist/macos/Info.plist.in

The URL looks like this:

tidal://login/auth

With the url parameters that contains the authorization code, the total length is 692 characters.

It works fine on Linux and Windows, but not on macOS.

I've tested both with Safari and Firefox.

Is the URL perhaps too long?

So, the url does not work when directly entered in Safari ?
Did you try with h t t p s instead of h t t p
Could you show the first part of URL, with the beginning of the payload (not the complete one) ?

Could you show also how you create and use the URL ?

There is probably an issue in the url itself ; may be need to escape some characters ? The length should not be the problem:
https://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers
URL scheme in Info.plist
 
 
Q