@IonicDevlopAnshul wrote:
I am doing share of image from android gallery to my app but issue is that i get only uri not a image data that’s
why task not completed so please any one help me
i try doracombell plugin , web intent , and naptiloilaln plugin from git hub
i try every thing on that but issue is not solveionViewDidLoad(){
var HandleIntent;
document.addEventListener(‘deviceready’,
(window).plugins.intent.setNewIntentHandler(HandleIntent)
(window).plugins.intent.getCordovaIntent(HandleIntent,
function () {
console.log(‘Error getting cordova intent’);
}
));HandleIntent=function (Intent) { var image = Intent; alert(image); var result= image.clipItems; alert(JSON.stringify(result)); alert("with="+JSON.stringify(result[0].uri)); }
}
Posts: 1
Participants: 1