Can't get subject in Share Intent Receive

Post your questions and help other users.

Moderator: Martin

Post Reply
damnzen
Posts: 1
Joined: 26 Dec 2016 01:47

Can't get subject in Share Intent Receive

Post by damnzen » 18 Nov 2018 06:58

In documentation "Send/Share Intent Received" triger returns subject variable but actually it doesn't.

For example, Share command from detailed page in Google Play Store should have subject including app name.
But after Automagic receive the intent through "Send/Share Intent Received" trigger, subject variable returns null .

anuraag
Posts: 371
Joined: 24 Jan 2015 02:06

Re: Can't get subject in Share Intent Receive

Post by anuraag » 18 Nov 2018 12:52

Documentation says "when available".

What subject you are expecting?

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Can't get subject in Share Intent Receive

Post by Desmanto » 18 Nov 2018 17:54

Oh, that's right. The subject is missing even though Playstore provides it. Try to share from Playstore to Intent Intercept. The result of the Extras

EXTRAS:
1 Class: java.lang.String
Key: android.intent.extra.SUBJECT
Value: Check out "Automagic * Automation"
2 Class: java.lang.String
Key: android.intent.extra.TEXT
Value: https://play.google.com/store/apps/deta ... dautomagic

Probably the Send/Share Intent Received should be extended to receive all Extras provided by the source app.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Can't get subject in Share Intent Receive

Post by Martin » 19 Nov 2018 20:14

This looks like a bug to me and should be fixed in the next update.
Thanks for reporting!

Post Reply