Questions tagged [monaca]
Monaca is a cloud based mobile app development environment. Supports iOS/Android hybrid apps in one source.
229
questions
0
votes
1
answer
28
views
FCM responds {"readystate":0,"responsetext":"","status":0,"statustext":"error"}
When sending a message with javascript FCM, {"readystate":0,"responsetext":"","status":0,"statustext":"error"} is returned by ajax .
...
0
votes
0
answers
19
views
Uncaught ReferenceError: wkWebView is not defined
I imported a Project into Monaca Cloud IDE, at this point all was working fine. Then I tried to log into my mobile app and got the Error - Connection failure. Status:error error:.Response
Here a ...
0
votes
0
answers
39
views
Monaca is playing the same music even though I have two different music files
I have two play buttons in the html file configured with two different music. But both the play buttons are playing the same music. When I tried to print the media object before playing, they're ...
0
votes
1
answer
173
views
How to convert such file into actual image for upload
Hi guys Im trying to upload an image from camera capture on Cordova and sending to PHP file.
The images sent to the PHP file comes like this:
data:image/jpeg;base64,file:///data/user/0/mobi.monaca....
1
vote
0
answers
884
views
Apps targeting Android 12 and higher are required to specify an explicit value for android:exported (using Monaca for Apache Cordova)
I'm trying to build my Apache Cordova app for android and I face with this error. I found that android:exported="true" must be added to the activity attributes but since I am using many ...
0
votes
1
answer
89
views
Angular Onsen UI Ajax call
I am beginning to learn writing apps using Monaca and I have a sample application I am editing which is written in Onsen and Angular.
I would like to be able to get data from a remote file on my ...
1
vote
0
answers
151
views
Monaca (cordova) compiled Android app is unable to make AJAX requests
All ajax requests are getting executed properly when I use the monaca debugger app of either ios or android. They are also working fine with the ios app compiled using monaca build.
However the ...
0
votes
1
answer
252
views
Monaca Android App crashes when cordova-plugin-local-notification tries to play a mp3 file
I am new with monaca/cordova and I am trying to get a background notification with sound using React framework and this plugin: https://github.com/katzer/cordova-plugin-local-notifications. I am ...
1
vote
1
answer
1k
views
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability
I use phonegal build but today i get this error when upload .ipa to apple store
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for ...
0
votes
1
answer
360
views
(Monaca, Cordova) Web API request with form authentication (Cookie) not working
I have a problem about one of my app and Web API published.
The problem has not resolved yet, so I need your help!
Specs
The app
The app is built with Monaca (https://monaca.io/ , based on Cordova, ...
0
votes
1
answer
34
views
Is there a way to use EC2 as backend for iOS app developed on Monaca?
We created a webapp (all code is on EC2 server) and now, we are trying to create an iOS app using Monaca, which is based on OnsenUI/Cordova.
We would like to use Monaca for the "front-end" and leave ...
0
votes
1
answer
364
views
Camera works in Monaca Debugger but not in Debug Build
So, I am working on a new app that uses the camera for real-time video OCR on Android. Anyway, the app works great in the Monaca debugger. When I then do a debug or release build, the camera will not ...
0
votes
0
answers
286
views
Buid App IOS in Monaca error: The platform "ios" does not appear to be a valid cordova platform. It is missing API.js. ios not supported
I build app in Monaca (under cordova@7.1.0, platforms: ios 4.5.2) error (Photo attached)
https://i.imgur.com/R9rA2nh.jpg
Do you have any suggestion to solve this issue?
Many thanks !
47
votes
7
answers
56k
views
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
Note: Due to security concerns, please don't use the marked solution but instead the highest voted one!
original question:
I am trying to install monaca with this command.
npm install -g monaca
But ...
0
votes
0
answers
132
views
How to use a variable in ng-if conditions?
I hope somebody can help me with this.
I'm building a messaging mobile application and i want to have my messaging style more interactive using this ng-if conditions but i'm having trouble using a ...
1
vote
0
answers
89
views
Unnecessary white spaces in ons-carousel-items
I am new to Onsen UI and Monaca. I really like it a lot. I am trying to build a carousel with small images (say 6em x 6em). Using ons-carousl and ons-carousel-items, I am able to achieve it. However, ...
1
vote
0
answers
194
views
Running Monaca project on Windows
I want to create a Cordova based monaca project on Windows. I have installed all the dependencies as following
npm install -g cordova
npm install -g webpack-cli
After that added monaca
npm install -...
1
vote
1
answer
218
views
Filetransfer.download not working properly in some mobiles
Given below is my code (form is the name of the file i want to download)
var fileURI = "http://myurl/"+form;
window.requestFileSystem(LocalFileSystem.PERSISTENT,0,function(fs){
...
1
vote
1
answer
1k
views
Cordova android backbutton confirmation message
I am working with Cordova based vue.js related app with Monaca and onsen.ui. I need to work on the Android Back button so that it shows me a confirmation message whenever a user presses the back ...
3
votes
1
answer
494
views
Access and Refresh Tokens
I am using caspio rest api to authenticate my users in a mobile app. Upon authenticating, I was given an access token to which I included in my AJAX call under the parameter 'Authorization' : Bearer [...
1
vote
1
answer
75
views
Samsung S7 not compatible although android play console says device is supported
I have an android app developed with monaca. Some of my users have a Samsung S7 phone. When they install the app, it says it is not compatible. I checked the device catalog in the play developer ...
0
votes
0
answers
289
views
Cordova app build error
When I build cordova app as a android app, following error was occured.
$ /data/build-server/cordova/6.5.0/bin/cordova plugin add cordova-plugin-firebase
Fetching plugin "cordova-plugin-firebase" via ...
1
vote
1
answer
400
views
Monaca: custom notification sound and small icon in Android with Onesignal
I've started a Monaca project, imported the official Onesignal plugin and it's working OK.
The problem is that I couldn't find a way to send a custom sound and small icon in Android. I've place a mp3 ...
1
vote
0
answers
131
views
How to resolve Nifty cloud send push notification error from monaca (android)?
I have implemented nifty cloud for push notification service in monaca platform(android).
I can receive push notification send from nifty cloud mobile backend.
document.addEventListener("deviceready",...
5
votes
1
answer
4k
views
Google map is not showing in vue.js
I have bulit an app based on Vue.js using Monaca,Cordova and onsenUI. I want to show my location using Google map in my page. To implement this I have used a npm package vue2-google-maps but it does ...
0
votes
1
answer
647
views
Cordova take photo in the background
I am making an application which has to take photo in the background, i.e without interaction. The one am currently using is cordova-plugin-camera but this opens up a interactive option from which the ...
0
votes
1
answer
61
views
Android build doesn't start
I was trying to build an Android APK on Monaca IDE and after selecting the type (Debug/Release) a new window appears exactly with the same content (selection of build type).
After selecting (again) ...
0
votes
1
answer
269
views
Can't use Monaca barcode scanner plugin on Android 7
I use barcode scanner plugin on my Monaca app. It works nicely without Android 7 devices. I got this error at Android 7 phones:
In Enlish: Sorry, the android camera faced a problem. You may need to ...
0
votes
1
answer
49
views
How do I share Monaca Cloud IDE code?
Clicking on "Share" shows a message in Chinese letters. Is it a message telling me something or a "link" that I should use somehow? Or just a bug?
-1
votes
2
answers
115
views
Monaca: Where is the jquery after I install it in monaca with onsenui
In Monaca, I installed JQuery using File | Manage JS/CSS components...
Added the JQuery (Monaca version) 2.03
Pressed save, and don't see the JQuery file(s) in my project.
Where are they?
0
votes
1
answer
101
views
Monaca compiled app iOS app as 32 bit, not 64 bit
I recently created an app that's pure HTML/JS/CSS. Aside from have an asset of a custom font, everything is native to Monaca. When I compile the app and load it into my iPhone 7, my iPhone warns that ...
0
votes
1
answer
349
views
Onsen UI with vuejs installation error
Im trying to get started with onsenUI vue.
when trying to create a new project with monaca like this:
monaca create helloworld
and selecting onsenui-v2-vue-splitter template, it gives me an ...
0
votes
1
answer
102
views
Use Monaca Version in ios app
I am using Monaca Cloud IDE to build an ios (and android) app. In the App Build Settings > App Settings there is a required field of Version Number. I would like to display this number in my apps ...
0
votes
0
answers
354
views
Unable to load local images in onsen.ui 2 project
I have created a Monaca app with Onsen.ui2 framework in which i am using the PhotoEditorSDK library from ng2-photo-editor
https://www.npmjs.com/package/ng2-photo-editor.
In the PhotoEidtComponenet.ts(...
2
votes
2
answers
2k
views
AngularJS cancelling a timeout
I have a cross platform app developed using AngularJS and Onsen/Monaca UI.
I have a function that watches for changes on button clicks and if a certain number of clicks have been detected on a button,...
0
votes
0
answers
143
views
Monaca Vue 2 + onsenui Undefined method?
Created a project with monaca / vue2 / onsenui splitter template.
Defined a test method into the main.js file as follow :
import 'onsenui';
import Vue from 'vue';
import VueOnsen from 'vue-onsenui';
...
0
votes
1
answer
82
views
Meteor + Onsen UI + Monaca cloud build
I want to use Onsen UI for a mobile application on Meteor. And I also want to use the cloud build from Monaca for this. Is it possible?
As I see the Meteor project has a completely different structure....
1
vote
1
answer
1k
views
Responsive grid for Onsen UI
Unfortunately Onsen UI does not have a responsive grid for placing blocks on screens of various sizes. What grids can you recommend for use with Onsen UI? I have experience with Bootstrap but this ...
0
votes
1
answer
197
views
Monaca app working in dashboard preview but not on Android 6 phone
I'm trying to modify the basic todo-list example for Onsen-UI.
I've added a new button in the menu.
<ons-toolbar-button id="resptab" >
<ons-icon icon="ion-pie-graph" size="28px"></...
1
vote
0
answers
44
views
How to Test Facebook Connect Locally with Monaca
I am currently working into a project with AngularJS and OnsenUi in Monaca Localkit and i need your help with the integration of facebook login to the application.
I followed the instructions
here ...
0
votes
2
answers
47
views
Delay displaying UI in cross platform app on ng-if
I have a cross platform app built using Monaca and AngularJS.
On some screens I display a generic view, and then display certain sections based on the outcome of some calculations/lookups using ng-if ...
0
votes
1
answer
119
views
Monaca Javascript not working
I have the following code and the simple js shown is not working. How do I make js work in monaca?
Here is the code for what I am doing.
I have added jQuery (Monaca Version) Version: 2.0.3 from the ...
3
votes
1
answer
1k
views
Step by step guide for initial project setup using Cordova + Onsen + React
Is there a good step by step guide of how to create an Onsen UI 2 + React + Redux + Cordova application from scratch?
There are a lot of guides out there but almost none of them tell about the ...
0
votes
1
answer
68
views
Create a button like monaca debugger button
I want to create a button like this to my application.Please someone help me to do this
0
votes
1
answer
374
views
Onsen 2 - Monaca CLI - Cordova plugins BarcodeScanner
I am creating a barcode scanner app with scandit scanner using Onsen 2 and Monaca . I integrate the scan library as plugin
cordova plugin add . Everything works fine with Android and iPad but for iOS ...
0
votes
1
answer
414
views
onsenUI AngularJS UI not working properly?
I created onsenUI AngularJS 1 minimum template in https://ide.monaca.mobi
I create one login application but UI design is not working properly
This is my index.html app
<!DOCTYPE HTML>
<...
0
votes
1
answer
224
views
How to upgrade Angular 2 version in Cordova app
Now I'm trying to update Angular2 in my Cordova(Monaca) app, and then I tested this way.
rm -rf node_modules dist tmp
npm install --save-dev angular-cli@latest
But I think this cause errors of ...
0
votes
0
answers
94
views
monaca application can't connect to https urls on Android mobile
I am deploying mobile application using Monaca Clude IDE using angularjs
I get my data using https request connect to Restful API exist in other domain
with preview simulator every thing going good
...
1
vote
2
answers
88
views
HTML dynamic content mysteriously dissapperars
I am currently working on a hybrid mobile application using Monaca, Cordova and Onsen-UI, but my problem seems more javascript-related.
I want to dynamically create list of items. For this purpouse I ...
0
votes
1
answer
105
views
can not change $scope variables value in some cases using angularjs
I am using angularjs with Monaca to build mobile application
I use this part for login process
$scope.login = function(username, password){
$scope.isLogging = true;
$scope.loginMsge = ...