I've just published in the Apple's Appstore a CocoonJS powered Javascript game that integrates some Facebook functions. After creating my app to Facebook, I spent weeks testing it in the CocoonJS Launcher, and I found the following:
In iOS, the user should grant permissions to apps that tries to access Facebook through the phone's Settings -> Facebook, where a list of apps appear.
I did so with the CocoonJS Launcher and then Facebook started working as expected. However, the final app (generated through the Cloud Compiler) has just been published in the store and, after trying to access Facebook from within the app, the app says that the user should grant permission from Facebook's settings (as I did with the Launcher), but it doesn't appear at the phone's Settings -> Facebook (that is, the list of apps that use Facebook and where it appeared the Launcher).
I've created my app in Facebook, retrieved its ID number, put it in the CocoonJS Cloud Compiler (both for Apple and Android) and, of course, called the "init" function inside the game with the corresponding Facebook app code... Even though it worked with the Launcher, it doesn't work with the app, and now my app is alive and no Facebook integration can be done (which is a real mess, because almost every game function uses it now)...
How could I solve it? What can be happening? Might it have something to do with the Cloud Compiler, or maybe it's related to the JS code?
Thanks in advance for your time and effort! :)
As states in help center, do some testing first with a custom launcher:
http://support.ludei.com/hc/en-us/articles/200767268-Custom-Launcher
The CocoonJS launcher you download from the store has the configuration string of Ludei:
http://support.ludei.com/hc/en-us/articles/200924496-Social
The problem may not have been in the submission, but in the development of the application.
In case you feel it's a bug, please fill a bug report with the following template in their help center.
The template guide:
http://support.ludei.com/hc/en-us/articles/203459717-How-to-report-a-CocoonJS-bug
The forum to post the issue (troubleshooting section):
http://support.ludei.com/hc/communities/public/topics/200011348-Problems-Troubleshooting
Related
I am developing a new app for android. I tested PhoneGap the last days and I think it is a very good platform to develop an app.
I started developing and now I have some security concerns.
Online
All the JavaScript gets hosted on my server and the app needs them to start.
Offline
I have my JavaScript in the app and it just validates some files before startup.
I want that my app is working online and offline.
Problem
If the files are offline every user (with root) can edit the code. The user can remove for example the In-App Purchase and the file validation for the offline mode.
I searched through the internet and I need so say that I didn't found a good answer how to secure my app.
I hope here is somebody who can give me tips or ideas to make my app working online and offline with beeing secure. Thanks!
Probably there is no bulletproof solution to make hybrid apps secure, however you could obfuscate your code using tools like https://github.com/mishoo/UglifyJS. Although not safe from reverse engineering, uglification willl make more difficulty to modify the code.
I have a problem with my sencha app, it uses facebook sdk javascript to log in, of course in the browser it works perfectly because facebook authorizes the domain name. but when i turn my app into a native android app, facebook rejects the app saying the given url is not allowed.
I have tried authorizing it as a native android app getting the key hash from the keystore I used, and putting in the facebook app with no success maybe i am missing something i would greatly appreciate any help in pointing me in the right direction
I solved it using the facebook connect plugin for phonegap and phonegap created by dave johnson
its in git hub
https://github.com/davejohnson/phonegap-plugin-facebook-connect/
You need to use the FB JavaScript library, not connect... Your best bet is to look at Jog With Friends in the ST2 examples directory to see how integration is handled
I just want a framework that allows me to build cross platform apps with HTML5 for at least iOS and Android. The problem that I'm having here is that I can't build PhoneGap or Appcelerator Titanium apps for iOS since I don't have a $99 developer subscription. I might have one in the future, but for now I can't. Is there anything like these frameworks around that doesn't require a iOS serial? I don't want to use one of those online tools that don't require coding. Preferably something like PhoneGap so I can access some of the phone's sensors, like the GPS and Camera.
If you want to publish in the App Store, you need a developer account. In order to get into the App Store, your app must first go through Apple's internal approval process, and you can only apply for that approval if you have an account.
The only way to publish in the App Store without your own account is to piggyback on someone else's account (e.g., publish it under a friend's account). It's unlikely that any publication service would let you piggyback on their account: what if you tried to publish malicious code and got their account in trouble with Apple?
If you don't need to publish in the App Store, your unapproved iOS app is still runable on jailbroken devices. If you do want to have your app in the App Store, you must get an account.
I've had a search around here and either
The answer isn't here; or
The search engine on here sucks
but,
I am trying to add FB integration to my Windows 8 Metro (yeah I said it) JavaScript app. the only problem is I cant work out what type of app I need to create on Facebook. There are only 3 options, iOs, android, and Web App. If I choose Web App, it asks for a mobile web URL, and of course the app isn't on the web so I assume this will be a problem. Further to this is he fact that the code I need to include in my "mobile app" asks me to define a channelUrl (again, no URL, as its a metro app) so I am very confused.
Anyone here gotten this successfully working and provide me a hint as to which type of FB app I need to create so that I can get the ball rolling?
Choose the first option Website with Facebook Login. In Site Url, you should be able to put down whatever you want, eg your own site, blog, etc.
You will use Web authentication broker. See
http://code.msdn.microsoft.com/windowsapps/Web-Authentication-d0485122
I have developed a javascript based widget application having IM features, use case of this widget will be to embed it on any web page.
we have embedded this widget app to our organizational portal, and IM is working fine. Now the management wants if we can have notification for any incoming IM, if the browser is minimized or is in the background. Notification on task bar as gtalk was providing on windows XP.
But now a days, these notifications are not available on windows 7, even facebook has an messenger embedded with their FB page and even no notification is there.
I searched internet for solution but as of now found nothing. It seems for desktop application it can be done for widget kind of application is it feasible??
Please help..
You can change the window title to the notification. This is similar to what Facebook does.
http://heyman.info/2010/sep/30/jquery-title-alert/
This should help you out.