Skip to content
This repository was archived by the owner on Mar 1, 2022. It is now read-only.
This repository was archived by the owner on Mar 1, 2022. It is now read-only.

IONIC 5 with Capacitor facing to launch another app and get callback using startActivityForResult #134

@veeravetrivel

Description

@veeravetrivel

I am using Ionic Angular with capacitor, we need to launch an external application which is our dependent application (Nativescript). With the ID of the app I need to launch and get callback once get image data. How to achieve this using Intent?
Getting error block log in console
` const options = {
action: this.webIntent.ACTION_GET_CONTENT,
package: 'de.myapp.eco' /*App package id in store installed in device */
}

this.webIntent.startActivityForResult(options).then((onSuccess) => {
  console.log('onSuccess',onSuccess)
}).catch((error: any) => console.log('error',error));`

Can you please guide me out to achieve the result?

@darryncampbell @mcelotti @mattdsteele

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions