jjbredesen's Recent Forum Activity

  • Hi!

    With the release of Brew.js for Nintendo Switch

    github.com/BrewJS/Switch

    Is there a possibility of getting our games working? It will obviously not be supported as a export option, but curious about the possibilities.

  • Hi!

    So I am making a messaging app for Android using a iframe containing the message website.

    My issue is with the keyboard, when I open the keyboard letterbox scaling will brake the whole layout, and the others will just overlay the keyboard, blocking the text input area, so you can't see what you are typing.

    I am trying to get the iframe til move to the "top" of the keyboard, is there any way to do this?

  • Thanks! but it says the script should be added under "OnDeviceReady", should that not first be defined?

  • Hi!

    So the situation is this:

    One of the functions in my game requires me accessing a server that requires a client certificate in order to access server resources. Once I have imported the certificate on the client device it works in chrome, but in the app it does not seem to function, I simply get access denied when loading the resources in Iframe.

    So how do we add certificates to Cordova apps? I can't seem to find any documentation on the subject, I would presume Webview would support something so basic?

  • It is asking me to add the following code to Ondeviceready

    var success = function(message) {

    alert(message);

    }

    var failure = function(error) {

    alert("Error:" + error);

    }

    clientCertificate.register("cert.p12", "password", success, failure);

    where in the www folder to I put this?

  • Hi!

    So I am I am developing a app that requires accessing a server with a imported .P12 SSL certificate, is there a way of implementing this in a Cordova app? I would presume webkit has such support?

    EDIT: I found this plugin: https:// github.com /mwaylabs/cordova-plugin-client-certificate

    but where do I add the jS?

  • Hi guys!

    I know a lot of people use Intel XDK even though it is no longer being supported, and now Intel has completely removed all download links on their website.

    Luckily they host their files with Amazon S3, so the installer can still be fetched from the server via this link:

    xdk2-installers.s3.amazonaws.co ... r_3987.exe

    Hope this helps others who have been looking for this <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" />

    EDIT: Scirra does not let me post links... https:// xdk2-installers .s3. amazonaws.com /xdk/xdk_web_win_master_3987.exe

  • Hi!

    So I was thinking of making a app launcher for Android , and I am aware of cordova app launcher plugins, but not sure how to implement it into Construct 2 or if there even is a plugin for Construct 2, anyone here know anything?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Android, I got it working!

    So it turns out it was all done correct, but there was a bug in adsense where no ads would show until I had added payment information, but payment information was not possible to add before hitting the payment minimum. Luckily google support team was quick to fix, and ads are now showing!

  • Dear fellow developers!

    So you want to monetize your app, but Intel XDK, Cocoon and phonegap are giving you a hard time? Or perhaps you just can't get anything to work despite your best efforts?

    Fear not! I am here to save you from your misery and show you how to add ads to your app the easy way!

    1. In Construct 2 extract your project as Cordova (no need for admob object)

    2. Open the extracted project in Intel XDK, add icons, edit package name etc. ready for release.

    3. Intel XDK cloud services are discontinued, so you can no longer build an apk, so click the build button and you will be presented with a .zip file.

    4. Go to build.phonegap.com , sign up and upload your file, then download the apk. once it has been built.

    5. Go to admob and create your ads.

    6. Go to vmax.com/sdk and download the wrapper software.

    7. Create account on the vmax website, and set up monetization

    8. Get your admob ca-pub id's and paste them into the vmax setup.

    9. Copy the adspot ID

    10. Run the wrapper, and input the adspot ID in the relevant section (either start up ad or close ad, or both)

    11. Wrap the app, and make sure you sign it with your keystore file, if you don't sign it you will get a parse error when installing the app on a test device. (and you need to do this anyway to upload to playstore)

    12. Go to the dashboard on VMAX website and submit your app for verification.

    You now have a .apk with ads, congrats! Until the app is verified only VMAX ads will show up, but once it is verified admob ads will be displayed.

    Good luck!

  • Hi!

    So this has been sort of a nightmare...

    I am trying to get ads working in my game, but when I run the game on a test device nothing shows up.

    I have done the following:

    1. Added Admob object, created account and entered the relevant ad ID's in C2 = OK

    2. On laylout loaded, preload ad, on recieved show etc. = OK

    3. Exported as Cordova, with correct settings (no script misc) = OK

    4. Imported the project into Intel XDK, added the plugin (cordova-plugin-admob-free) = OK

    5. Build: So they have disconinued the cloud build services, meaning I have to export as a zip file. = Should be OK?

    6. Upload the to Phonegap build, and installed app.

    Based on all the documentation I have read nothing should be wrong here, yet no ads are showing in the app as if the code was never implemented, anyone who could help out?

jjbredesen's avatar

jjbredesen

Member since 16 Jul, 2017

None one is following jjbredesen yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies