GithubHelp home page GithubHelp logo

Comments (5)

adam-singer avatar adam-singer commented on May 27, 2024

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.

adam-singer avatar adam-singer commented on May 27, 2024

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.

agrieve avatar agrieve commented on May 27, 2024

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.

adam-singer avatar adam-singer commented on May 27, 2024

@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.

adam-singer avatar adam-singer commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.