react-native-send-intent icon indicating copy to clipboard operation
react-native-send-intent copied to clipboard

Question - Install then Open (remote apk)?

Open projectgp11 opened this issue 7 years ago • 7 comments

I have an apk that is in development, not in the store, and I am invoking from a screen in another of another as-yet not-in-store app. When I call to install , it says "there was an issue parsing this app", but when i install that app independently , it runs fine. I uploaded the second apk (the one being called to install, and hopefully open) to a server. Can I install and then open it? That doesn't seem to work with what I've tried, and time is short! Thanks.

projectgp11 avatar Apr 13 '18 18:04 projectgp11

Hi @projectgp11

Your problem it is too specific, I never faced nothing like this.

How can I test or simulate your scenario? Can you share some code or samples?

lucasferreira avatar Apr 13 '18 19:04 lucasferreira

I was just wondering if there was a simple function in your code that would open the remote apk after install, and not just install (without opening) from a remote source. That's what I need to happen.

I hope this is clearer.

Thank you for your prompt reply

Rachel

On Fri, 13 Apr 2018, 20:14 Lucas Ferreira, [email protected] wrote:

Hi @projectgp11 https://github.com/projectgp11

Your problem it is too specific, I never faced nothing like this.

How can I test or simulate your scenario? Can you share some code or samples?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/lucasferreira/react-native-send-intent/issues/63#issuecomment-381235450, or mute the thread https://github.com/notifications/unsubscribe-auth/AjDApBg6KyhTd2xGmrKtuHccfPqvZ2VXks5toPkCgaJpZM4TT6oi .

-- __

Séanadh Ríomhphoist/_

Email Disclaimer__ **

Tá an ríomhphost seo agus aon chomhad a sheoltar leis faoi rún agus is lena úsáid ag an seolaí agus sin amháin é. Is féidir tuilleadh a léamh anseo. https://www4.dcu.ie/iss/seanadh-riomhphoist.shtml  https://www4.dcu.ie/iss/seanadh-riomhphoist.shtml* _

This e-mail and any files transmitted with it are confidential and are intended solely for use by the addressee. Read more here. https://www4.dcu.ie/iss/email-disclaimer.shtml _ *_

projectgp11 avatar Apr 13 '18 19:04 projectgp11

First you have to install this app and then guarantee that the install runs with success.

After that you could call SendIntentAndroid.openApp with the package name of your new app to open it.

lucasferreira avatar Apr 13 '18 20:04 lucasferreira

IT runs successfully, but when I called it with openApp it didn't open

On Fri, 13 Apr 2018, 21:26 Lucas Ferreira, [email protected] wrote:

First you have to install this app and then guarantee that the install runs with success.

After that you could call SendIntentAndroid.openApp with the package name of your new app to open it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/lucasferreira/react-native-send-intent/issues/63#issuecomment-381251979, or mute the thread https://github.com/notifications/unsubscribe-auth/AjDApHdOhZL0b9q8-BLtoMaz7uabPjcdks5toQoNgaJpZM4TT6oi .

-- __

Séanadh Ríomhphoist/_

Email Disclaimer__ **

Tá an ríomhphost seo agus aon chomhad a sheoltar leis faoi rún agus is lena úsáid ag an seolaí agus sin amháin é. Is féidir tuilleadh a léamh anseo. https://www4.dcu.ie/iss/seanadh-riomhphoist.shtml  https://www4.dcu.ie/iss/seanadh-riomhphoist.shtml* _

This e-mail and any files transmitted with it are confidential and are intended solely for use by the addressee. Read more here. https://www4.dcu.ie/iss/email-disclaimer.shtml _ *_

projectgp11 avatar Apr 13 '18 20:04 projectgp11

Are you call openApp with the full package name?

Something like com.yourfreshnew.appName

Being honest with you I've never faced this kind of scenario of working with two-out-of-play-store apps together.

lucasferreira avatar Apr 13 '18 22:04 lucasferreira

Yes I tried with the full package. It's a thesis project, that's why they are not in store yet.

On Fri, 13 Apr 2018, 23:14 Lucas Ferreira, [email protected] wrote:

Are you call openApp with the full package name?

Something like com.yourfreshnew.appName

Being honest with you I've never faced this kind of scenario of working with two-out-of-play-store apps together.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/lucasferreira/react-native-send-intent/issues/63#issuecomment-381273425, or mute the thread https://github.com/notifications/unsubscribe-auth/AjDApIvx4rkj8ao-VOKvcuJvDwtJ0db9ks5toSNOgaJpZM4TT6oi .

-- __

Séanadh Ríomhphoist/_

Email Disclaimer__ **

Tá an ríomhphost seo agus aon chomhad a sheoltar leis faoi rún agus is lena úsáid ag an seolaí agus sin amháin é. Is féidir tuilleadh a léamh anseo. https://www4.dcu.ie/iss/seanadh-riomhphoist.shtml  https://www4.dcu.ie/iss/seanadh-riomhphoist.shtml* _

This e-mail and any files transmitted with it are confidential and are intended solely for use by the addressee. Read more here. https://www4.dcu.ie/iss/email-disclaimer.shtml _ *_

projectgp11 avatar Apr 13 '18 22:04 projectgp11

I'll be doing another build tomorrow, I need to tweak the icon and stuff, but it's almost 23:15 on a Friday now after a v long week... Gonna rest for a while.. woke up at 3am this morning @fter 2 hours sleep! Not fun... Ouch!

I'll let you know how I get on tomorrow. I'll try again.

On Fri, 13 Apr 2018, 23:14 Lucas Ferreira, [email protected] wrote:

Are you call openApp with the full package name?

Something like com.yourfreshnew.appName

Being honest with you I've never faced this kind of scenario of working with two-out-of-play-store apps together.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/lucasferreira/react-native-send-intent/issues/63#issuecomment-381273425, or mute the thread https://github.com/notifications/unsubscribe-auth/AjDApIvx4rkj8ao-VOKvcuJvDwtJ0db9ks5toSNOgaJpZM4TT6oi .

-- __

Séanadh Ríomhphoist/_

Email Disclaimer__ **

Tá an ríomhphost seo agus aon chomhad a sheoltar leis faoi rún agus is lena úsáid ag an seolaí agus sin amháin é. Is féidir tuilleadh a léamh anseo. https://www4.dcu.ie/iss/seanadh-riomhphoist.shtml  https://www4.dcu.ie/iss/seanadh-riomhphoist.shtml* _

This e-mail and any files transmitted with it are confidential and are intended solely for use by the addressee. Read more here. https://www4.dcu.ie/iss/email-disclaimer.shtml _ *_

projectgp11 avatar Apr 13 '18 22:04 projectgp11