iOS9과 SDK 5.1.2 부터 canOpenURL
관련 변동사항이 있었네요.
뭔가 계속 canOpenURL
이 계속 false
를 리턴해서 문서를 봤더니 떡하니 다음과 같은 글이 있었습니다.
On iOS, this method might return false if you have not whitelisted the URL schemes you query in your tiapp.xml.
다음 링크에 나온 것처럼 원하는 scheme들을 plist에 추가해야합니다.
http://docs.appcelerator.com/platform/latest/#!/guide/tiapp.xml_and_timodule.xml_Reference-section-29004921_tiapp.xmlandtimodule.xmlReference-iOS9SecurityandcanOpenUrl
<key>LSApplicationQueriesSchemes</key>
<array>
<string>fbapi</string>
<string>fbauth2</string>
<string>fbshareextension</string>
<string>fb-messenger-api</string>
<string>twitter</string>
<string>whatsapp</string>
<string>instagram</string>
<string>comgooglemaps</string>
</array>