Monaca Docs
  • Monaca
  • Create Your First App
  • Release Notes and Updates
    • Privacy Manifest Requirement for iOS Apps
    • Plugin uses-permission Tag Deduplication Feature
    • iOS Monaca Debugger Discontinuation & Alternative Features
    • Error submitting to iOS App Store (ITMS-90165)
    • Build error in cordova-custom-config
    • Cordova 11 changes
    • Cordova 10 changes
    • Cordova 9 changes
    • New Monaca CLI and Localkit
    • Migration from Cordova to Capacitor
  • Product Guides
    • Monaca Development Overview
    • Monaca Cloud IDE
      • Overview
      • Features in the Monaca Cloud IDE
      • Integrated Terminal
      • Editor Shortcuts
      • Project Dependencies
        • File and Folder Structure
        • JS/CSS Components
        • Cordova Plugins
        • Custom Cordova Plugins
      • Version Control
        • Introduction
        • GitHub Integration
        • Git SSH Integration
      • Monaca CI
        • Overview
        • Deploy Services
        • Deploy to Appetize.io
        • Deploy to DeployGate
        • Deploy to Firebase
      • Build
        • Building for iOS
          • Building an iOS App
          • Build Settings between Monaca and Xcode
        • Building for Android
        • Building for Electron
          • Building on Windows
        • Building for PWA
        • Building for Windows
        • Build Environment Settings
        • Common Build and Application Upload Errors
        • Build History
      • Distribution
        • App Store Distribution
          • App Store Connect Guide
          • iOS App Upload Feature
        • Google Play Distribution
        • Amazon Appstore Distribution
        • Non-market App Distribution
      • Download App Package
      • Tutorial
    • Monaca Localkit
      • Overview
      • Pairing and Debugging
      • Remote Building and Publishing
      • Troubleshooting Guide
      • Tutorial
    • Monaca CLI
      • Overview
      • Monaca CLI Commands
      • Pairing and Debugging
      • Project Dependencies
        • File and Folder Structure
        • JS/JSS Components
        • Cordova Plugins
        • Custom Cordova Plugins
      • Remote Building and Publishing
      • Troubleshooting Guide
      • Tutorial
    • Monaca Debugger
      • Functionalities
      • Installation
        • Monaca Debugger for Android
        • Monaca Debugger for iOS
        • Monaca Debugger for Android Emulator
      • Usage
      • Custom Build Debugger for iOS
      • iOS App Simulator Build
      • Troubleshooting Guide
      • Tutorials
    • Team Dashboard
    • Quick Viewer
    • Migrating from Other Platforms
      • Key Points
      • Cloud IDE preview function settings
      • Migrating from Angular
      • Migrating from Ionic
      • Migrating from React
      • Migrating from Vue
      • Migrating from PhoneGap
        • Key Differences
        • Guide for PhoneGap Build Users
        • Guide for PhoneGap CLI Users
        • Guide for PhoneGap Desktop App Users
      • Migrating from Telerik
  • Build App
    • Build for iOS
      • Creating a Private Key and CSR
      • Creating a Certificate
      • Updating Provisioning Profiles
  • Tutorials
    • Monaca Cloud IDE Tutorial
      • Part 1: Starting a Project
      • Part 2: Running Monaca Debugger with Monaca Cloud IDE
      • Part 3: Building a Monaca App
      • Part 4: Publishing a Monaca App
    • Monaca Localkit Tutorial
      • Part 1: Starting a Project
      • Part 2: Running Monaca Debugger with Monaca Localkit
      • Part 3: Building a Monaca App
      • Part 4: Publishing a Monaca App
    • Monaca CLI Tutorial
      • Part 1: Starting a Project
      • Part 2: Running Monaca Debugger with Monaca CLI
      • Part 3: Building a Monaca App
      • Part 4: Publishing a Monaca App
    • Electron Tutorial
      • How to Use a NPM Package
      • How to Use a Web API
    • Barcode Scanner Plugin
    • Cordova SQLite Storage Plugin
    • Cordova Google Analytics Plugin
    • Cordova Firebase Plugin
    • Cordova In-app Purchase Plugin
    • Cordova AppVersion Plugin
    • Cordova Ionic Keyboard Plugin
    • Cordova Social Sharing Plugin
    • NIFCLOUD mobile backend
    • Phonegap Push Plugin
  • API Reference
    • Monaca API
      • Monaca Cloud & Remote Build API Guide
      • Utilities
    • Core Cordova Plugins
      • Cordova 11.0
        • Battery Status Plugin
        • Camera Plugin
        • Device Plugin
        • Device Motion Plugin
        • Device Orientation Plugin
        • Dialogs Plugin
        • File Plugin
        • Geolocation Plugin
        • InAppBrowser Plugin
        • Media Plugin
        • Media Capture Plugin
        • Network Information Plugin
        • Splashscreen Plugin
        • Vibration Plugin
        • StatusBar Plugin
      • Cordova 10.0
        • Battery Status Plugin
        • Camera Plugin
        • Device Plugin
        • Device Motion Plugin
        • Device Orientation Plugin
        • Dialogs Plugin
        • File Plugin
        • Geolocation Plugin
        • InAppBrowser Plugin
        • Media Plugin
        • Media Capture Plugin
        • Network Information Plugin
        • Splashscreen Plugin
        • Vibration Plugin
        • StatusBar Plugin
        • Whitelist Plugin (Android Only)
      • Cordova 9.0
        • Battery Status Plugin
        • Camera Plugin
        • Contacts Plugin
        • Device Plugin
        • Device Motion Plugin
        • Device Orientation Plugin
        • Dialogs Plugin
        • File Plugin
        • File Transfer Plugin
        • Geolocation Plugin
        • Globalization Plugin
        • InAppBrowser Plugin
        • Media Plugin
        • Media Capture Plugin
        • Network Information Plugin
        • Splashscreen Plugin
        • Vibration Plugin
        • StatusBar Plugin
        • Whitelist Plugin (Android Only)
    • Third-party Cordova Plugins
      • Advanced HTTP Plugin
      • PhoneGap BarcodeScanner Plugin
      • Cordova Custom Config Plugin
      • DatePicker Plugin
      • Share Plugin (Android)
      • WebIntent Plugin (Android)
    • Monaca Power Plugins
      • Monaca HTML5 Resource Encryption
      • Monaca In-App Updater
      • Monaca Secure Storage
      • Barcode Scanner Plugin
      • Android build memory size setting
    • Service Integration
      • Repro
      • AppsFlyer
    • Configuration Files
      • Android
        • Android Configuration
        • config.xml
        • AndroidManifest.xml
      • iOS
        • iOS Configuration
        • config.xml
        • MonacaApp-Info.plist
  • Samples & Tips
    • Sample Apps
      • AdMob
      • Twitter Single Sign-on App
      • Facebook Single Sign-on App
      • Flickr
      • TODO App
      • BirthYear App
      • Break the Bricks
      • Train Catalog App
      • Omikuji Fortune Telling App
      • Clock App
      • Memo Application
      • RSS Reader App
      • Hello World App
    • Tips & Tricks
      • Playing Sound and Music
      • Control the Splash Screen
      • Using Database
  • Features
    • Push Notification
    • SNS Authentication
    • Database
  • FAQ
    • General
    • IDE
    • Build
    • Release
    • Subscription
      • How to Use Activation Code
    • Application
    • Usage
    • Debugger
  • Supported Environments
  • Trouble Shooting
    • Preview Log repeats to reload (Vue packages version mismatch error)
  • Monaca Product Website
  • 日本語
Powered by GitBook
On this page
  • Can I use an external ad network?
  • Can I use external backend service?
  • What kind of features can be used in applications developed using Monaca?
  • In applications that are developed using Monaca, can I embed codes written in Java? (For Android)
  • Can I use UIKit with an application developed with Monaca?
  • Can I develop applications with many different screen sizes?
  • Can I use Cordova plugins?
  • What are the restrictions for developing Windows Store apps?
  • Can I develop a full-screen app?
  • Android
  • iOS
  • Can I always use the latest version of Cordova?
  • How can I make font size bigger for input and textarea controls?
  • Cordova API and Monaca JavaScript API do not work.
  • How to change the app start page from index.html to another?
  • Limitation of version number and version code for Monaca apps
  • Cordova APIs (such as camera, compass, and so on) are not working.
  • The built app does not work or works differently than on the debugger.
  • Can the iOS' App ID and Android's package name be different?
  • How to get SHA-1 fingerprint of a keystore created in Monaca Cloud IDE?
  • Can't install my app on an iOS device after building it.

Was this helpful?

  1. FAQ

Application

PreviousHow to Use Activation CodeNextUsage

Last updated 3 years ago

Was this helpful?

Can I use an external ad network?

For Monaca, there is no particular restriction on installing an ad network in an application. Technically, ads can be posted on WebView, so please use them according to the agreements of each ad network company.

Can I use external backend service?

You can use external backend services with Monaca. We also provide some external services (including backend) you can integrate into your project right from Monaca Cloud IDE.

From Monaca Cloud IDE, go to Configure → Service Integration Settings → Backend to see exisiting external backend services.

If you cannot find the backend service you want there, you can import its SDK into Monaca by going to Configure → Cordova Plugin Settings → Import Cordova Plugin.

What kind of features can be used in applications developed using Monaca?

With Monaca you can develop applications that are able to use all types of unique features on smartphones.(Camera, GPS, etc.) Please refer to the documents below.

Windows Store apps are not compatible with Cordova Core Plugins, but compatible with developments that used WinJS.

In applications that are developed using Monaca, can I embed codes written in Java? (For Android)

Monaca currently does not support embedding of Java native codes.

Can I use UIKit with an application developed with Monaca?

Monaca currently does not support using UIKit.

Can I develop applications with many different screen sizes?

In order to develop an application with many different screen sizes, you can include the following meta tag in your code.

<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, maximum-scale=1, user-scalable=no">

Can I use Cordova plugins?

What are the restrictions for developing Windows Store apps?

Can I develop a full-screen app?

Yes, you can. However, you need to make configuration differently on iOS and Android.

Android

There are two ways to make an app runs in fullscreen mode:

  1. By Android App Configuration panel: From Monaca Cloud IDE, go to Configure → App Settings for Android. Then, enable the fullscreen mode.

  2. By config.xml file: input the following line in the file:

<preference name="Fullscreen" value="true"/>

iOS

To ensure the configuration is updated successfully, please build your app again after making the above configuration.

Can I always use the latest version of Cordova?

Monaca supports specific Cordova versions. However, we regularly update and provide the latest Cordova version support as soon as possible.

How can I make font size bigger for input and textarea controls?

You can fix this problem by applying following styles.

form input, form textarea {
    font-size: 100%;
}

Cordova API and Monaca JavaScript API do not work.

Please check if components/loader.js file is loaded in your code. You can't use Cordova API and other JavaScript APIs provided by Monaca if the file is not loaded.

How to change the app start page from index.html to another?

  1. Go to config.xml file under www folder.

  2. Under <widget> element, input the location of the file you want to set as the starting page in the <content> tag. The default value is index.html. See the example below:

<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" id="com.example.helloworld" version="1.0.0">
    ...
    <content src="https://monaca.io/" />
</widget>

Limitation of version number and version code for Monaca apps

Based on Cordova, the maximum value of version number is 99.99.99 and the corresponding maximum value of version code is 999999 for Monaca apps.

If you want to use a larger version code value, you need to modify config.xml file directly. See below example:

<widget xmlns="http://www.w3.org/ns/widgets" id="your packagename" version="xx.yy.zz">
<!--Substitute xx.yy.zz to 100.1.3, the version code becomes 1000103.-->

Starting from 2014/04/02, config.xml file is located under the www folder. If your project is created before that, config.xml file is located in android/config.xml and ios/config.xml for Android and iOS respectively.

Cordova APIs (such as camera, compass, and so on) are not working.

When using Cordova APIs (such as camera, compass, and so on), you need to make sure that those APIs are called after they are loaded and are ready to access.

For Onsen UI, ons.ready() function is called when both deviceready and DOMContentLoaded events are fired. Therefore, you can deal with both events by using ons.ready() function.

The built app does not work or works differently than on the debugger.

It is likely that the built app does not contain the necessary Cordova plugin. Although Monaca Debugger contains all core plugins by default, you need to manually specify which plugin to install when you build the app. You can manage the plugins to be included in the app by enabling them in Manage Cordova Plugins configuration.

Can the iOS' App ID and Android's package name be different?

Currently, when you update either iOS' App ID or Android's package name, both of them will change. In other words, they are configured to be the same. However, it is possible to make them different.

In order to set iOS's App ID and Android's package name different, update the <widget> tag in config.xml file by adding the values for android-packageName and ios-CFBundleIdentifier while removing the existing id value. Here is an example of the updated file:

<widget xmlns="http://www.w3.org/ns/widgets" android-packageName="com.example.android" ios-CFBundleIdentifier="com.example.ios" version="1.0.0”>

How to get SHA-1 fingerprint of a keystore created in Monaca Cloud IDE?

Assuming that you already created an Android keystore with Monaca Cloud IDE, please follow the instructions below to get a SHA-1 fingerprint of the KeyStore:

  1. From Monaca Cloud IDE menu, go to Configure → Android KeyStore Settings.

  2. Click on Export to download your KeyStore.

  3. Then, go to your command prompt and type:

    • <your-key-name> which is the alias of the downloaded KeyStore from Cloud IDE.

    • <path-to-production-keystore> which is the path to where you keep the downloaded KeyStore file.

    keytool -exportcert -alias <your-key-name> -keystore <path-to-production-keystore> | openssl sha1 -binary | openssl base64
  4. Then, you will be asked to input the password of the KeyStore.

Can't install my app on an iOS device after building it.

Please check whether the target device is registered in the provisioning profile selected at the time of building.

For Basic and Personal plans, you can use the built-in Cordova plugins such as ChildBrowser, DatePicker, Bluetooth and so on. Please refer to for all the built-in Cordova plugins provided by Monaca. However, In order to add Custom Cordova plugin, you will need to have a Gold or Platinum plan. To add a custom Cordova plugin, please refer to .

For Windows Store app development, native JavaScript and HTML5 features are used. Therefore, features such as those in PhoneGap cannot be used. For this reason, in order to develop an app that runs on both Windows (Windows store app) and other platforms, you can't use features such as those in PhoneGap. Also, for Windows Store app, there are some features and properties in the standard JavaScript and HTML5 that can't be used. For more details, please refer to .

You need to use Plugin to hide the native status bar.

This method won’t work in Android Debugger downloaded from Google Play. Creating a custom Android debugger will solve this issue. Please refer to .

The deviceready event fires once the Cordova is fully loaded. You can safely use Cordova APIs when this event is fired. For more information, please refer to .

With this kind of configuration, all builds are succeeded except Android’s .

Cordova Core Plugins English
Samples & Tips
Third-party Cordova Plugins
Custom Cordova Plugins
HTML, CSS, and JavaScript features and difference
StatusBar
Build and Install Custom Monaca Debugger
deviceready event
custom Debugger build