Comments (5)
The manifest I'm using looks like:
{
"name": "YOUR APP HERE",
"description": "DESCRIPTION HERE",
"manifest_version": 2,
"minimum_chrome_version": "23",
"version": "0.1.1",
"offline_enabled": true,
"key": "SUPERLONGKEY",
"permissions": ["webview", "identity", "http://*", "http://*/", "https://*", "https://*/"],
"icons": {
"16": "assets/icons/icon16.png",
"48": "assets/icons/icon48.png",
"128": "assets/icons/icon128.png"
},
"app": {
"background": {
"scripts": ["background.js"]
}
},
"oauth2": {
// client_id below is specifc to the application key. Follow the
// documentation to obtain one for your app.
"client_id": "SOMECLIENTID.apps.googleusercontent.com",
"scopes": ["https://www.googleapis.com/auth/plus.login"]
}
}
from mobile-chrome-apps.
Actually this issue should be renamed on documenting how additional plugins are added when importing projects with existing manifest files. What should you do if your project is already created? within a cordova container?
from mobile-chrome-apps.
Ah, I wondered if that was the issue. (1. create project 2. add indentity
to permission 3. it doesn't work).
Currently the answer is that you need to recreate the project again, but
we're hoping that soon we'll have "mca prepare" take notice of the
permissions change and sync the correct plugins.
On Thu, Dec 12, 2013 at 12:46 AM, adam [email protected] wrote:
Actually this issue should be renamed on documenting how additional
plugins are added when importing projects with existing manifest files.
What should you do if your project is already created? within a cordova
container?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/39#issuecomment-30390917
.
from mobile-chrome-apps.
@agrieve yep the problem is identity plugin does not get added unless it sees it in the manifest.json when you do mca com.somespace.Demo --source=~/location/to/existing/project
. Agree it would be ideal for mca prepare
to pick up the changes. I tried to change some xml config files, which I thought would end up adding the plugin. I dont know what happened, but those files did get overwritten on the platform android configurations.
from mobile-chrome-apps.
Will close out this bug and open a new one. It really sounds like mca prepare
should support manifest permissions/plugin changes.
from mobile-chrome-apps.
Related Issues (20)
- Chome.bluetooth/chrome.bluetoothsocket API not responding
- mobile chrome app does not work under ios10 HOT 9
- Video tutorial on how to Run Chrome Apps on Mobile Using Apache Cordova
- No background scripts found in your manifest.json file
- ChromeSocketsTcp.h not found in iOS project
- Getting only blank screen in iOS
- Update Cordova (android command depreciated) HOT 1
- not installing
- Ran into "Android SDK not found" error even though SDK is installed and `ANDROID_HOME` points to it HOT 4
- mobile app HOT 2
- Chrome Android 6.0 star os mobile app
- Whole document visible black in android HOT 1
- [QUESTION] Where I can find the CI service?
- background-attachment: fixed does not work on Android Chrome
- HID Support
- iOS - window.open() opens new window(tab) but back button is disabled HOT 1
- creating an online app
- ERROR: A problem occurred evaluating root project 'ZZAPP'.
- Bottom toolbar affect the normal operation of the web page
- node pull unresponsive
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobile-chrome-apps.