PS, I should have mention I only need portrait mode.
lammie1971
@lammie1971
Posts made by lammie1971
-
RE: iPhone portrait mode detecting the notch.
-
iPhone portrait mode detecting the notch.
Hi, is there a way I can detect the notch that is used on the newer versions of the iPhone?
For example if the phone has the notch I will add some different CSS than if the phone doesn’t have it.
Thanks in advance.
-
Changing text in the inAppUpdater prepare and download alert boxes.
Hi I am using the code below for the Monaca-in-App-Updater plugin:
How can I change the the title and text in the two dialog boxes, “Preparing” & “Downloading”
Thanks.
function upDate() { monaca.InAppUpdater.autoUpdate( { connectDelay : 0000, connectTimeout : 30000, readTimeout: 300000, nextTask : function(res) { if (res.requireRestart) { monaca.InAppUpdater.updateAndRestart().then( function(){ }, function(fail) { alert(JSON.stringify(fail)); }, function( json ) { // alert( JSON.stringify(json)); var s = json.count + "/" + json.total + " are done."; // console.log( s ); document.getElementById("result").innerHTML = s; } ); } else { /* alert("アプリスタート"); */ } }, failTask : function(res) { monaca.InAppUpdater.showAlertDialog( { title : "Error Code "+res.error.code , message : res.error.message , button : { label : "OK" , handler : function() { } } } ).then( function(json) { }, function(fail) { } ); } }); }
-
In-App-Updater plugin, using in testing.
Hi, I an in the process of making an app. I have been looking at the plug-ins and the In-App-Updater plugin looks good as I will have constantly updating JSON files.
Obviously at this point I am only building the app and it may not come to fruition. What I want to know is what time I have to pay for the plugin.
Is it during the build process or is it once the application has been accepted into the appstore?
Thanks.
-
jQuery Mobile App & Cordova-Plugin-Keyboard Problem.
I am writing a small app with jQuery Mobile that I want to include CJPearson’s Cordova-Plugin-Keyboard https://www.npmjs.com/package/cordova-plugin-keyboard. I can install the plugin Ok but I do not know how to configure it correctly.
For example, I want to stop disable scrolling in shrink view and but I do not know where to place it within my code.
Thanks in advance.
PS, I have attached the code (with dummy content) from my index file below, (apologies as I did not know how to attach and upload the file).
<html> <head> <meta charset="utf-8"> <meta name="viewport" viewport-fit="cover" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <meta http-equiv="Content-Security-Policy" content="default-src * data: gap: content: https://ssl.gstatic.com; style-src * 'unsafe-inline'; script-src * 'unsafe-inline' 'unsafe-eval'"> <link rel="stylesheet" href="css/style.css"> <link rel="stylesheet" href="lib/jquery.mobile-1.4.5/jquery.mobile-1.4.5.min.css"> <script src="lib/jquery/jquery-1.12.4.min.js"></script> <script src="lib/jquery.mobile-1.4.5/jquery.mobile-1.4.5.min.js"></script> <script> document.addEventListener('deviceready', deviceReady, false); function deviceReady(){ alert("WE ARE READY!!"); Keyboard.shrinkView(false); Keyboard.disableScrollingInShrinkView(true); }; </script> </head> <body class="ui-mobile-viewport ui-overlay-a"> <div data-role="page" id="one" data-url="one" tabindex="0" class="ui-page ui-page-theme-a ui-page-active" style=""> <div data-role="header" role="banner" class="ui-header ui-bar-inherit" data-position="fixed"> <h1 class="ui-title" role="heading" aria-level="1">Multi-page</h1> </div><!-- /header --> <div role="main" class="ui-content"> <h2>One</h2> <input type="text" /> <p><a href="#two" class="ui-btn ui-shadow ui-corner-all">Show page "two"</a></p> <br/><br/><br/><br/>Stop from scrolling when the keyboard is shown <br/><br/><br/><br/>Stop from scrolling when the keyboard is shown <br/><br/><br/><br/>Stop from scrolling when the keyboard is shown <br/><br/><br/><br/>Stop from scrolling when the keyboard is shown <br/><br/><br/><br/>Stop from scrolling when the keyboard is shown <br/><br/><br/><br/>Stop from scrolling when the keyboard is shown </div><!-- /content --> <div data-role="footer" data-theme="a" role="contentinfo" class="ui-footer ui-bar-a" data-position="fixed"> <h4 class="ui-title" role="heading" aria-level="1">Page Footer</h4> </div><!-- /footer --> </div><!-- /page one --> </body> </html>
-
Monaca in-app-updater query?
I am developing my first app with Monaca. I think if it comes to fruition I will purchase the Monaca in-app-updater.
Do I have to pay for this during the development stage or when I package and publish the final app.
As it seems a lot to fork out now without necessarily knowing that I will need it.
Thanks in advance.