Giter Site home page Giter Site logo

luisbouca / cordova-openwith-plugin Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 7.0 123 KB

A plugin for cordova that enables your app to be added to the share file menu and receive said file url in the app

Objective-C 21.39% JavaScript 63.03% Java 13.97% C 1.61%

cordova-openwith-plugin's People

Contributors

cmfsotelo avatar izambasiron avatar luisbouca avatar

Stargazers

 avatar

Watchers

 avatar  avatar

cordova-openwith-plugin's Issues

xcodebuild: Command failed with exit code 65

When using the plugin, my application stops working. I have generated an empty application and the same error occurs. I am using Mabs 6.2

I attach the log

[2020-08-03T06:57:37.621Z] [INFO] Start processing job request...
[2020-08-03T06:57:37.636Z] [INFO] Start generating application...
[2020-08-03T06:57:37.636Z] [INFO] Template version: 8.3.3
[2020-08-03T06:57:37.637Z] [INFO] Build features: cordovaNoFetch - true
[2020-08-03T06:57:37.637Z] [INFO] Build features: buildTimeout - 20
[2020-08-03T06:57:37.637Z] [INFO] Creating a temporary folder for the application...
[2020-08-03T06:57:37.638Z] [INFO] Creating the required directory structure for your cordova application...
[2020-08-03T06:57:42.053Z] [INFO] Getting application resources...
[2020-08-03T06:57:42.066Z] [INFO] Processing application resources...
[2020-08-03T06:57:42.220Z] [INFO] Generating application assets...
[2020-08-03T06:57:44.013Z] [INFO] Applying configurations in the config.xml file...
[2020-08-03T06:57:44.029Z] [INFO] Applying advanced configurations in the config.xml file...
[2020-08-03T06:57:44.030Z] [INFO] Applying custom application icons...
[2020-08-03T06:57:44.030Z] [INFO] Applying custom application splashscreens...
[2020-08-03T06:57:44.030Z] [INFO] Applying application preferences...
[2020-08-03T06:57:44.031Z] [INFO] Applying application accessList...
[2020-08-03T06:57:44.031Z] [INFO] Adding target platform...
[2020-08-03T06:59:12.618Z] [INFO] Applying plugins in the config.xml file...
[2020-08-03T06:59:12.619Z] [INFO] Plugin Id: https://github.com/luisbouca/cordova-openwith-plugin.git
[2020-08-03T06:59:12.619Z] [INFO] Plugin Action: add
[2020-08-03T06:59:25.509Z] [INFO] Getting signing keys...
[2020-08-03T06:59:25.513Z] [INFO] Building application package...
[2020-08-03T07:00:38.069Z] [ERROR] remote: Enumerating objects: 53, done.
remote: Counting objects: 1% (1/53)
remote: Counting objects: 3% (2/53)
remote: Counting objects: 5% (3/53)
remote: Counting objects: 7% (4/53)
remote: Counting objects: 9% (5/53)
remote: Counting objects: 11% (6/53)
remote: Counting objects: 13% (7/53)
remote: Counting objects: 15% (8/53)
remote: Counting objects: 16% (9/53)
remote: Counting objects: 18% (10/53)
remote: Counting objects: 20% (11/53)
remote: Counting objects: 22% (12/53)
remote: Counting objects: 24% (13/53)
remote: Counting objects: 26% (14/53)
remote: Counting objects: 28% (15/53)
remote: Counting objects: 30% (16/53)
remote: Counting objects: 32% (17/53)
remote: Counting objects: 33% (18/53)
remote: Counting objects: 35% (19/53)
remote: Counting objects: 37% (20/53)
remote: Counting objects: 39% (21/53)
remote: Counting objects: 41% (22/53)
remote: Counting objects: 43% (23/53)
remote: Counting objects: 45% (24/53)
remote: Counting objects: 47% (25/53)
remote: Counting objects: 49% (26/53)
remote: Counting objects: 50% (27/53)
remote: Counting objects: 52% (28/53)
remote: Counting objects: 54% (29/53)
remote: Counting objects: 56% (30/53)
remote: Counting objects: 58% (31/53)
remote: Counting objects: 60% (32/53)
remote: Counting objects: 62% (33/53)
remote: Counting objects: 64% (34/53)
remote: Counting objects: 66% (35/53)
remote: Counting objects: 67% (36/53)
remote: Counting objects: 69% (37/53)
remote: Counting objects: 71% (38/53)
remote: Counting objects: 73% (39/53)
remote: Counting objects: 75% (40/53)
remote: Counting objects: 77% (41/53)
remote: Counting objects: 79% (42/53)
remote: Counting objects: 81% (43/53)
remote: Counting objects: 83% (44/53)
remote: Counting objects: 84% (45/53)
remote: Counting objects: 86% (46/53)
remote: Counting objects: 88% (47/53)
remote: Counting objects: 90% (48/53)
remote: Counting objects: 92% (49/53)
remote: Counting objects: 94% (50/53)
remote: Counting objects: 96% (51/53)
remote: Counting objects: 98% (52/53)
remote: Counting objects: 100% (53/53)
remote: Counting objects: 100% (53/53), done.
remote: Compressing objects: 2% (1/34)
remote: Compressing objects: 5% (2/34)
remote: Compressing objects: 8% (3/34)
remote: Compressing objects: 11% (4/34)
remote: Compressing objects: 14% (5/34)
remote: Compressing objects: 17% (6/34)
remote: Compressing objects: 20% (7/34)
remote: Compressing objects: 23% (8/34)
remote: Compressing objects: 26% (9/34)
remote: Compressing objects: 29% (10/34)
remote: Compressing objects: 32% (11/34)
remote: Compressing objects: 35% (12/34)
remote: Compressing objects: 38% (13/34)
remote: Compressing objects: 41% (14/34)
remote: Compressing objects: 44% (15/34)
remote: Compressing objects: 47% (16/34)
remote: Compressing objects: 50% (17/34)
remote: Compressing objects: 52% (18/34)
remote: Compressing objects: 55% (19/34)
remote: Compressing objects: 58% (20/34)
remote: Compressing objects: 61% (21/34)
remote: Compressing objects: 64% (22/34)
remote: Compressing objects: 67% (23/34)
remote: Compressing objects: 70% (24/34)
remote: Compressing objects: 73% (25/34)
remote: Compressing objects: 76% (26/34)
remote: Compressing objects: 79% (27/34)
remote: Compressing objects: 82% (28/34)
remote: Compressing objects: 85% (29/34)
remote: Compressing objects: 88% (30/34)
remote: Compressing objects: 91% (31/34)
remote: Compressing objects: 94% (32/34)
remote: Compressing objects: 97% (33/34)
remote: Compressing objects: 100% (34/34)
remote: Compressing objects: 100% (34/34), done.
remote: Total 36 (delta 22), reused 0 (delta 0), pack-reused 0
From https://github.com/CocoaPods/Specs
79480de37632..94538a6aa67b master -> origin/master

** ARCHIVE FAILED **

Error: xcodebuild: Command failed with exit code 65

[2020-08-03T07:00:38.070Z] [ERROR] Build failed with the following error: An unexpected error has occurred while generating your application. Please try again. If the problem persists, contact OutSystems Support.
[2020-08-03T07:00:38.071Z] [INFO] Zipping application source...
[2020-08-03T07:00:55.697Z] [INFO] Application was not successfully generated!
[2020-08-03T07:00:55.715Z] [INFO] Execution time: 198196ms

Share in cause URL Scheme not work

I encountered two cases,

  1. App with openwith module in Outsystems cannot handle URL Scheme (the app ID) to launch app before share in any file into App. And crash in launch page. With Outsystems error:
    A fatal error has occurred. Please contact OutSystems support: *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil

  2. After share any file into App, then kill the app, it can launch by URL Scheme (the app ID) and pass the launch page, but openwith module still think it carry the last share-in file that trigger the app to handle the share-in action.

I think the first issues it not handling correctly with the URL scheme such as myappid:// with or without string content after it.
The second one should be clear up the data after the success call back?
Any ideas?

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.