Auto share screen shot

78 views
Skip to first unread message

Erik Carlin

unread,
Apr 13, 2023, 1:07:55 PM4/13/23
to Tasker
Hello team 😃, 

This task worked before I wiped my phone... Now I get this nasty error. Any help is appreciated. Seems I can get the file path but then the share doesn't work, unsupported file file. 

10.58.06/ActionArgBundle key: android.intent.extra.SUBJECTSEND: replace <null> String value with null
10.58.06/ActionArgBundle key: android.intent.extra.TEXTSEND: replace <null> String value with null
10.58.06/Variables doreplresult: |%screenshots1| -> |/storage/emulated/0/DCIM/Screenshots/Screenshot_20230413_102945_Dasher.jpg|
10.58.06/ActionArgBundle AutoShare: IntentData: %screenshots1 -> /storage/emulated/0/DCIM/Screenshots/Screenshot_20230413_102945_Dasher.jpg
10.58.06/Variables doreplresult: |%screenshots1| -> |/storage/emulated/0/DCIM/Screenshots/Screenshot_20230413_102945_Dasher.jpg|
10.58.06/ActionArgBundle AutoShare: android.intent.extra.STREAMSEND: %screenshots1 -> /storage/emulated/0/DCIM/Screenshots/Screenshot_20230413_102945_Dasher.jpg
10.58.06/E FIRE PLUGIN: AutoShare / com.twofortyfouram.locale.intent.action.FIRE_SETTING: 13 bundle keys
10.58.06/E AutoShare: plugin comp: com.joaomgcd.autoshare/com.joaomgcd.autoshare.broadcastreceiver.IntentServiceFire
10.58.06/Ew add wait type Plugin1 time 10
10.58.06/Ew add wait type Plugin1 done
10.58.06/E handlePluginFinish: taskExeID: 1 result 3
10.58.06/E pending result code
10.58.06/E add wait task
10.58.06/E Error: 1981048417
10.58.06/E android.os.FileUriExposedException: file:///storage/emulated/0/DCIM/Screenshots/Screenshot_20230413_102945_Dasher.jpg exposed beyond app through Intent.getData()


Here's my task. Thanks for any help. 

Profile: Dasher Screenshot Share

Screenshots/ Event: Create ] Application: Dasher

Event: File Modified [ File:DCIM/ State: BT Connected [ Name: LEXUS RX Address: * ]

Enter Task: Send Latest Screenshot Settings: Run Both Together

A1: List Files [

Directory: DCIM/Screenshots Match: *.jpg

Sort Select: Modification Date,

Reverse Variable Array: %screenshots

Use Global Namespace: On ]

A2: Flash [

Text: %screenshots1 Continue Task Immediately: On

Dismiss On Click: On ]

<screenshots1 is %screenshots1> A3: Anchor

A4: AutoShare [

Configuration: Package:

org.telegram.messenger

App: AutoShare

Class: org.telegram.ui. LaunchActivity Structure Output (JSON, etc): On ]

Action: Share

MimeType: */*

File: %screenshots1 Timeout (Seconds): 10

João Dias

unread,
Apr 19, 2023, 8:10:00 AM4/19/23
to tas...@googlegroups.com
Hi. Sorry for the late reply.

Unfortunately I wasn't able to reproduce the issue.

Can you please export that profile as an URI (not a link, but a direct URI) and paste it here so I can then import it and test it myself?

Thanks in advance!


Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias


Erik Carlin

unread,
Apr 19, 2023, 8:34:34 AM4/19/23
to tas...@googlegroups.com
Hey there,

I managed to finally get this. I wiped the storage on the app and then I saw a permission popup. But only then, after like 10 tries. 

I think it's one of those things that I missed as it went away so fast my fingers went away from the popup and it didn't come back.

All is well for now though.... Thanks Joao


--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/CAG6Z%2BFcUYhK43WRGTWTWrrk-nJmBV1u4a6_tQzHiPmPRnLpENw%40mail.gmail.com.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages