Navigation

    Monaca & Onsen UI
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. Remco Koffijberg
    R
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    Remco Koffijberg

    @Remco Koffijberg

    1
    Reputation
    51
    Posts
    1161
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Remco Koffijberg Follow

    Posts made by Remco Koffijberg

    • RE: How to add a file to the root?

      I’ve not so much time now, but the files are not automatically created in the fcm plugin.

      i get this:

      Build Error: Error: Sandbox Exec Error: [ Error: cordova-plugin-fcm: You have installed platform android but file 'google-services.json' was not found in your Cordova project root folder.
      

      I think the plugin automatically puts them in the right place, once they are in the root folder.

      I also tried uploading a file. This might have worked since i got no error. Am i supposed to see it in the file structure? Or is it always hidden?

      posted in Monaca Tools
      R
      Remco Koffijberg
    • RE: How to add a file to the root?

      Thanks! Great. I’ll try tonight.

      posted in Monaca Tools
      R
      Remco Koffijberg
    • How to add a file to the root?

      Plugins like Cordova-firebase request you to add a plist and json file to the root of the project.

      Monaca cloud does not allow to add to the root.

      Is there a way around this?

      Thanks
      Remco

      posted in Monaca Tools
      R
      Remco Koffijberg
    • RE: Parse Push Plugin error

      @khemry
      Yes, it looks like it does something. The only thing is, it cannot find the icon file. It’s looking in the root.

      I can only create a folder in the www- directory (so not in the root, Monaca won’t let me)

      when i add …/…/ to the path in the config.xml i get this error:

      - postBuild -
      Remove working directories...
      Build Error: Error: Sandbox Exec Error: [ Error: ENOENT: no such file or directory, open '/private/tmp/monaca/59830d5e013eb0b95fd62dee/www/resources/android_notification_icon.png'
       ]
      

      I added the file in a newly created directory www/resources/

      without adding anything in the config it says:

      Build Error: Error: Sandbox Exec Error: [ Error: ENOENT: no such file or directory, open '/private/tmp/monaca/5983113fff2af238350ed243/project/resources/android_notification_icon.png'
      

      i tried to add ‘project’ to the config path, it looks pretty ok but is still an error…

      no such file or directory, open '/private/tmp/monaca/59832d51013eb050565dd864/project/www/resources/android_notification_icon.png'
      
      posted in Monaca Tools
      R
      Remco Koffijberg
    • RE: Parse Push Plugin error

      @khemry
      I contacted the Parse provider, the plugin should work fine. I redid the XML file as well. Would you have any other idea what it can be?

      tx

      posted in Monaca Tools
      R
      Remco Koffijberg
    • RE: Parse Push Plugin error

      Thanks for your reply. Since my backend is Parse (hosted by Sashido), it’s a big change to move to Firebase. :smiley:

      But maybe the Sashido backend does not allow this plugin, which Monaca detects via the config.xml during build. I’ll look into that first.

      Thanks!

      posted in Monaca Tools
      R
      Remco Koffijberg
    • RE: Parse Push Plugin error

      Just to be sure i took an empty project and added the plugin. It also breaks.

      
      Fetch queue Info...
      Start building 597adac6803451371d84384a
      Setup working directories...
      Download project archive...
      Extract project archive...
      Fetch project info...
      Webview:null
      Arch:null
      cordova version: 6.2.0
      
      
      - preBuild -
      buildForAndroid
      
      - Cordova create -
      $ /data/build-server/cordova/6.2.0/bin/cordova create /tmp/monaca/597adac6803451371d84384a/project
      Creating a new cordova project.
      
      
      - Copy .monaca-res directory -
      
      - Copy config.xml -
      
      - Cordova platform add -
      $ /data/build-server/cordova/6.2.0/bin/cordova platform list
      $ /data/build-server/cordova/6.2.0/bin/cordova platform add /data/build-server/cordova/platforms/android/5.1.1
      Adding android project...
      Creating Cordova project for the Android platform:
      	Path: platforms/android
      	Package: com.example.helloworld
      	Name: Minimum_Template
      	Activity: MainActivity
      	Android target: android-23
      Android project created with cordova-android@5.1.1
      
      
      - Copy external plugin setting files -
      
      - Copy www files -
      
      - Cordova plugin add -
      $ /data/build-server/cordova/6.2.0/bin/cordova plugin add mobi.monaca.plugins.Monaca
      $ /data/build-server/cordova/6.2.0/bin/cordova plugin add cordova-plugin-whitelist@1.2.2
      $ /data/build-server/cordova/6.2.0/bin/cordova plugin add cordova-plugin-splashscreen@3.2.2
      $ /data/build-server/cordova/6.2.0/bin/cordova plugin add cordova-custom-config@2.0.3
      $ /data/build-server/cordova/6.2.0/bin/cordova plugin add /tmp/monaca/597adac6803451371d84384a/output/plugins/parse-push-plugin
      
      - Cordova prepare -
      $ /data/build-server/cordova/6.2.0/bin/cordova prepare android
      cordova-custom-config: Skipping auto-restore of config file backup(s)
      
      
      - postBuild -
      Remove working directories...
      Build Error: Error: Sandbox Exec Error: [ Error: Cannot read property 'get' of null
       ]
      
      
      posted in Monaca Tools
      R
      Remco Koffijberg
    • RE: Parse Push Plugin error

      Hi Khemry,

      Thanks for thinking along. I don’t call the plugin before the device ready. Is there anything else i can take a look at?

      I’ll add the build log here:

      Fetch queue Info...
      Start building 597ad6568034512907220095
      Setup working directories...
      Download project archive...
      Extract project archive...
      Fetch project info...
      Webview:null
      Arch:null
      cordova version: 6.2.0
      
      
      - preBuild -
      buildForAndroid
      
      - Cordova create -
      $ /data/build-server/cordova/6.2.0/bin/cordova create /tmp/monaca/597ad6568034512907220095/project
      Creating a new cordova project.
      
      
      - Copy .monaca-res directory -
      
      - Cordova platform add -
      $ /data/build-server/cordova/6.2.0/bin/cordova platform list
      $ /data/build-server/cordova/6.2.0/bin/cordova platform add /data/build-server/cordova/platforms/android/5.1.1
      Adding android project...
      Creating Cordova project for the Android platform:
      	Path: platforms/android
      	Package: io.cordova.hellocordova
      	Name: HelloCordova
      	Activity: MainActivity
      	Android target: android-23
      Android project created with cordova-android@5.1.1
      Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the project
      Fetching plugin "cordova-plugin-whitelist@1" via npm
      Installing "cordova-plugin-whitelist" for android
      
                     This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.
                
      
      
      - Copy config.xml -
      
      - Copy external plugin setting files -
      
      - Copy www files -
      
      - Cordova plugin add -
      $ /data/build-server/cordova/6.2.0/bin/cordova plugin add mobi.monaca.plugins.Monaca
      $ /data/build-server/cordova/6.2.0/bin/cordova plugin add cordova-plugin-whitelist@1.2.2
      $ /data/build-server/cordova/6.2.0/bin/cordova plugin add cordova-plugin-splashscreen@3.2.2
      $ /data/build-server/cordova/6.2.0/bin/cordova plugin add cordova-plugin-network-information@1.2.1
      $ /data/build-server/cordova/6.2.0/bin/cordova plugin add cordova-plugin-badge
      $ /data/build-server/cordova/6.2.0/bin/cordova plugin add cordova-custom-config@2.0.3
      $ /data/build-server/cordova/6.2.0/bin/cordova plugin add https://github.com/katzer/cordova-plugin-hidden-statusbar-overlay.git
      $ /data/build-server/cordova/6.2.0/bin/cordova plugin add https://github.com/apache/cordova-plugin-statusbar.git
      $ /data/build-server/cordova/6.2.0/bin/cordova plugin add /tmp/monaca/597ad6568034512907220095/output/plugins/cordova-plugin-streaming-media
      $ /data/build-server/cordova/6.2.0/bin/cordova plugin add /tmp/monaca/597ad6568034512907220095/output/plugins/de.appplant.cordova.plugin.local-notification
      $ /data/build-server/cordova/6.2.0/bin/cordova plugin add /tmp/monaca/597ad6568034512907220095/output/plugins/parse-push-plugin
      
      - Cordova prepare -
      $ /data/build-server/cordova/6.2.0/bin/cordova prepare android
      cordova-custom-config: Skipping auto-restore of config file backup(s)
      
      
      - postBuild -
      Remove working directories...
      Build Error: Error: Sandbox Exec Error: [ Error: Cannot read property 'get' of null
       ]
      
      
      posted in Monaca Tools
      R
      Remco Koffijberg
    • Parse Push Plugin error

      Hi, i’m trying to add the Parse Push Plugin from Taivo. https://github.com/taivo/parse-push-plugin

      It is added to monaca, but when i build it gives a sandbox error:

      Build Error: Error: Sandbox Exec Error: [ Error: Cannot read property 'get' of null
       ]
      

      Anything i can do?

      posted in Monaca Tools
      R
      Remco Koffijberg