If you are using monaca-lib
standalone, take a look here:
Posts made by Andi
-
RE: Monaca Login from monaca-lib fails
-
RE: Monaca Login from monaca-lib fails
What kind of plan are you using? It should not matter but it’s better to double check.
-
RE: Passing in a param that can be read in code at run time
You cannot really pass any parameter but there are alternative ways to check if you are running Monaca Preview or a Debug build.
During Monaca Preview execution, Cordova itself is not running. You can just check that and adapt your code consequently. Here you can find some examples.
For what concerns Debug builds, you can check it by using a Cordova Plugin like this one
-
RE: app does not display content
Try to put all your JS code inside the
ons.ready
function and see how it goes. -
RE: app does not display content
It sounds like timing/event related issue but it’s hard to tell without taking a look at the source code.
You should probably open a support request here, specifying the project. -
RE: Monaca transpile too slow.
@nipun-kr how slow is it? I just tried to run
monaca preview
on a Vue project and it seems quite fast. You can see how long it takes to initialize the web server + first transpiling operation and then perform another transpiling operation once the source code has been updated. -
RE: Monaca debug error - Cannot find module 'angular2-onsenui'
Try to go the root of your project and run the following commands:
npm install
monaca reconfigure
monaca debug
Moreover, which template did you exactly create?
-
RE: How to add a file to the root?
You should be able to see the files after your refresh the project tree content (there is an option close to the
upload
button. -
RE: How to add a file to the root?
There are a few ways to accomplish it because there are different firebase plugins.
If you use https://github.com/fechanique/cordova-plugin-fcm then the files should be automatically created.
If you use https://github.com/arnesson/cordova-plugin-firebase then you need to manually upload the config files in the root by following this procedure.- Open your project in IDE.
- Click the upload button on the top-left of the page
There are a few ways to accomplish it because there are different firebase plugins.
If you use https://github.com/fechanique/cordova-plugin-fcm then the files should be automatically created.
If you use https://github.com/arnesson/cordova-plugin-firebase then you need to manually upload the config files in the root by following this procedure.-
Open your project in IDE.
-
Click the upload button on the top-left of the page
-
A modal will open, select the
/
as destination and upload the config files.
At this point, the config files should be available on IDE