[ 
https://issues.apache.org/jira/browse/CB-11924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15582324#comment-15582324
 ] 

ASF GitHub Bot commented on CB-11924:
-------------------------------------

GitHub user daserge opened a pull request:

    https://github.com/apache/cordova-docs/pull/650

    CB-11924 Share target: sharing to cordova app makes the app open but …

    …crashes afterwards
    
    <!--
    Please make sure the checklist boxes are all checked before submitting the 
PR. The checklist
    is intended as a quick reference, for complete details please see our 
Contributor Guidelines:
    
    http://cordova.apache.org/contribute/contribute_guidelines.html
    
    Thanks!
    -->
    
    ### Platforms affected
    Windows
    
    ### What does this PR do?
    Documents the activated event can be fired before deviceready
    
    ### What testing has been done on this change?
    
    
    ### Checklist
    - [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html) 
in the JIRA database
    - [x] Commit message follows the format: "CB-3232: (android) Fix bug with 
resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform 
affected.
    - [ ] Added automated test coverage as appropriate for this change.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/daserge/cordova-docs CB-11924

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-docs/pull/650.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #650
    
----
commit 91f56827fdadc65e96e188a4bbbff1d76ba7e835
Author: daserge <v-ses...@microsoft.com>
Date:   2016-10-17T13:53:01Z

    CB-11924 Share target: sharing to cordova app makes the app open but 
crashes afterwards
    
    Documents the activated event can be fired before deviceready

----


> Share target: sharing to cordova app makes the app open but crashes afterwards
> ------------------------------------------------------------------------------
>
>                 Key: CB-11924
>                 URL: https://issues.apache.org/jira/browse/CB-11924
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows
>    Affects Versions: 4.4.2
>         Environment: Windows 10, cordova cli 6.1.1, affects cordova platform 
> 4.4.2, also current 4.5.0 dev branch.
>            Reporter: Sebastien Lorber
>
> Steps to reproduce:
> ========================
> {code}
> cordova create shareTargetTest
> cd shareTargetTest
> cordova platform add https://github.com/apache/cordova-windows
> {code}
> In manifest, add Share Target of type URI, leading to the following XML:
> {code}
>       <Extensions>
>         <uap:Extension Category="windows.shareTarget">
>           <uap:ShareTarget>
>             <uap:DataFormat>URI</uap:DataFormat>
>           </uap:ShareTarget>
>         </uap:Extension>
>       </Extensions>
> {code}
> Run Windows 10 emulator (also crashed on HP Elite X3 device)
> Open Edge browser on any page, and share page to HelloCordova app.
> The HelloCordova app opens, and after some seconds, the emulator crashes 
> (WWAHost.exe fails with code = -1: don't know how to get more details 
> unfortunatly)
> --------------------------------------------------------------------------
> Expected result:
> ========================
> I don't know if this has ever been done by anyone on a Cordova app, but I 
> want to share a Edge link to my application. For Android/iOS, this means that 
> the app should open, or resume itself, and call some JS callback.
> I tried to follow these Windows8 tutorials that still look relevant for 
> Windows10 app, with no success.
> https://msdn.microsoft.com/en-us/library/windows/apps/hh758301.aspx
> It seems the "activated" callback never fires (weither it's declared in my 
> app, or in cordova.js, at least I don't see anything in the console logs I've 
> put everywhere).
> Can you tell me if I do anything wrong to achieve this usecase? thanks



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to