Hello,
I am trying to share an image and text via whatsapp using native.showPopup( “activity”, options ). But the image does not show up in the message. Here is my code: tellthebell
local popupListener = {} function popupListener:popup( event ) -- print( -- "(name, type, activity, action):", -- event.name, event.type, tostring(event.activity), tostring(event.action) -- ) end local itemsToShare = { { type = "image", value = { filename = "image1.png", baseDir = system.ResourceDirectory } }, { type = "string", value = "Hello" }, } local options = { items=itemsToShare, listener=popupListener } native.showPopup( "activity", options )
It works fine with other app