J'essaie d'utiliser une application LinkedIn pour plusieurs versions whitelabel d'une application.iOS Plusieurs applications partageant une application LinkedIn
J'ai réussi à faire FB - et il semble que LinkedIn devrait être très similaire, mais ne peut réussir à faire revenir LinkedIn à l'application correcte (quand les autres sont installés). Parfois, il ne revient pas, parfois il va à l'autre application partageant le même ID d'application LI ...
J'ai ajouté les bundleID com.bethegame.app1 et com.bethegame.app2 à l'application mobile LinkedIn, et ajouté app1 et app2 en tant que suffixes pour LinkedIn iOS app mobile.
Voici ce qui est dans mon plist pour chaque application ...
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>com.bethegame.app1</string>
<key>CFBundleURLSchemes</key>
<array>
<string>app1</string>
</array>
</dict>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fb123456789</string>
</array>
<key>FacebookUrlSchemeSuffix</key>
<string>app1</string>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>com.bethegame.app1</string>
<key>CFBundleURLSchemes</key>
<array>
<string>li1234567-app1</string>
</array>
<key>LISuffix</key>
<string>app1</string>
</dict>
Comme je le dis FB fonctionne bien « FacebookUrlSchemeSuffix » est documenté, le LinkedIn « LISuffix » est pas?
Toutes ces applications ont le même schéma d'URL? – Lumialxk
Désolé je ne suis pas clair sur ce que vous demandez? Chaque application serait unique en termes d'urlscheme - voir ci-dessus où chaque application différente aurait app1, app2, app3 etc ... comme suffixe référencé. –