1 decade ago by stillen
This allows you to check if an application is installed on the iPhone by url. If it is, then you can successfully open the application.
https://github.com/stillenklipse/EjectaCheckUrl
Example:
This checks if the user has Facebook is installed, then it will open the Facebook App to your game Facebook Fan Page.
https://github.com/stillenklipse/EjectaCheckUrl
Example:
if( window.ejecta ){ var OpenUrl = new Ejecta.OpenUrl('fb:'); if(OpenUrl.isUrlSafeToOpen() == "true"){ OpenUrl.openPassedUrl(); } }else{ console.log('facebook not installed')}; }
This checks if the user has Facebook is installed, then it will open the Facebook App to your game Facebook Fan Page.