[AC-5675] Android Intent Service Crashing on Samsung Note 3 Device
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2018-04-03T04:37:20.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio, Titanium SDK & CLI |
Labels | Android5, Samsung |
Reporter | sonufana4u |
Assignee | Shak Hossain |
Created | 2018-03-26T09:24:56.000+0000 |
Updated | 2018-04-03T04:37:20.000+0000 |
Description
When we click to share something then App crashes.Its happening on Samsung Galaxy Note 3.Just sharing the code how am calling intent below.Could you please look into this ?
var intent = Ti.Android.createIntent({
action: Ti.Android.ACTION_SEND
});
// add text status
if (args.status){
intent.putExtra(Ti.Android.EXTRA_TEXT, "#IntentTest "+args.status);
}
// change type according to the content
if (args.image){
intent.type = "image/*";
intent.putExtra(Ti.Android.EXTRA_TITLE, "Intent Test");
intent.putExtra(Ti.Android.EXTRA_TEXT, "#IntentTest "+args.status);
intent.putExtraUri(Ti.Android.EXTRA_STREAM, args.image);
}else{
intent.type = "text/plain";
intent.addCategory(Ti.Android.CATEGORY_DEFAULT);
}
// launch intent
Ti.Android.currentActivity.startActivityForResult(
Ti.Android.createIntentChooser(intent, args.androidDialogTitle),
function (e) {
console.warn('>>>>>>>>>>>> createIntentChooser callback}}}}', e);
}
);
Hi [~sonufana4u], do you have any related crash logs? Does this happen on other devices running Android 5 as well?
Hello Rene.Actually bug is posted by client.One of the users facing this issue on his device.Client shared me few crash logs but am not sure which one belongs to this.I'll share crash logs soon.I tried on other Android 5 but didn't get the issue. *Report from user :* I upgraded phones two days ago and no longer have the issue on my new Pixel 2 XL. The issue remains on my Samsung Note 3. I still have the Note 3 with the app installed and was able to duplicate the issue just now. When I try to touch the share button next to the photo it will hesitate and then the app will crash and an error message saying "Unfortunately XYZ has stopped." appears. I reported the issue again and have included the logs.
[~sonufana4u] Hi, so this ticket is related to AC-5683?
Hello Rene, No that was another issue..I'll try to share crash log with you soon..
Hello [~sonufana4u], Please share the crash log here with us. We will investigate the issue. Thanks.
Hello Sharif, Due to long weekend am not able to collect crash log from Client.Need some more time.Will share with you soon.
Hello Sharif / Rene, Bug was reported by end user and its forwarded to me by client.I was not able to reproduce on emulator and now even client also not able to reproduce it.So client has closed this issue. So requesting you close this ticket and mark as *Invalid* Thank you