Actually it appears you also need this line:
<icon src="/res/ios/icon/icon-1024.png" width="1024" height="1024" />
Actually it appears you also need this line:
<icon src="/res/ios/icon/icon-1024.png" width="1024" height="1024" />
What version of the plugin are you using? I was able to get it to install properly with the latest release version.
Monaca now uses cordova-ios@6 which has WKWebView by default so you don’t need the plugin. To get around the XHR problem, see https://github.com/OnsenUI/OnsenUI/issues/2629#issuecomment-732533174
If you rotate the screen to landscape and then back to portrait, does the screen display correctly once back in portrait?
Also, were you using WKWebView before the Cordova 10 upgrade? It is used by default in Cordova 10, but before that you had to use a plugin if you wanted to use WKWebView.
This may be related, I’m not sure: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/53
You should be able to just use v-on:batterystatus
, right? I think that’s the case but I haven’t checked.
@geraldineak How about this?
You can copy and paste it into the playground to try it:
https://onsen.io/playground/
HTML
<ons-page>
<p style="text-align: center; margin-top: 10px;">
<ons-search-input
placeholder="Search"
oninput="input()"
id="search"
></ons-search-input>
</p>
<ons-list>
<ons-lazy-repeat id="infinite-list"></ons-lazy-repeat>
</ons-list>
</ons-page>
JS
const allItems = ['hey', 'there', 'here', 'are', 'some', 'options'];
let shownItems = [];
ons.ready(function() {
const infiniteList = document.getElementById('infinite-list');
infiniteList.delegate = {
createItemContent: function(i) {
const element = ons.createElement('<ons-list-item>' + shownItems[i] + '</ons-list-item>');
element.onclick = () => fill(shownItems[i]);
return element;
},
countItems: function() {
return shownItems.length;
}
};
infiniteList.refresh();
});
// updates list of options on input
function input() {
const inputValue = document.getElementById('search').value;
if (inputValue === '') {
shownItems = [];
} else {
shownItems = allItems.filter(item => item.startsWith(inputValue));
}
document.getElementById('infinite-list').refresh();
}
// sets input value to clicked option
function fill(clickedOption) {
document.getElementById('search').value = clickedOption;
shownItems = [];
document.getElementById('infinite-list').refresh();
}
Glad it’s working now.
By the way, you can save from the playground by clicking the Export to Codepen button (or if it’s to report an Onsen UI bug, click Report an Issue).
In that case, can you recreate the problem here and link it?
https://onsen.io/playground/
WKWebView is just for iOS. I assumed that was the problem since that was a common problem with using multiple files recently.
In that case, if you contact Monaca Support Team, they can check your project to see if there are any problems with it.
Sometimes the Start button can take a little time to load. If you click between the build types and come back to the Debug build option, it will usually be enabled.
It does still support this but if you are using WkWebView, there may be a problem with using it.
The solution is here: https://github.com/OnsenUI/OnsenUI/issues/2629#issuecomment-732533174
If you haven’t built your application before, you have to build it once using Monaca Cloud IDE to link the provisioning profile to your project. After the first time, you can build with Monaca CLI.
@gwclubexpress
It might be caused by this line:
<uses-feature android:name=“android.hardware.CAMERA”/>
Where do you see the message that no devices are supported? Is it a build error? If so, please send the full error.
Using Firebase with cordova-plugin-firebasex works well.
This might be obvious, but are you sure you are using the inappbrowser open method? (you need to replace window.open with cordova.InAppBrowser.open)
https://github.com/apache/cordova-plugin-inappbrowser#windowopen
It might work using setInterval
as described here:
https://developer.mozilla.org/en-US/docs/Web/API/Vibration_API
You can still use API level 29 on the version of cordova-android used by Monaca.
Make sure your setting is within the <platform name=“android”> section of your config.xml. You can also try setting android-targetSdkVersion to 29.
You could try setting the target
argument of the open
method:
https://github.com/apache/cordova-plugin-inappbrowser#cordovainappbrowseropen
This can be used to open in the inapp browser or in the system browser.