Currently I'm sending a text message from Android using the SmsManager and its working fine.
But I do want to listen to the Intent result and take some actions based on that, the following code was supposed to work, but I'm getting getResultCode as undefined on the runtime (But it works on the debugging console)
app.android.registerBroadcastReceiver(this.id, () => {
if(this.getResultCode() == android.app.Activity.RESULT_OK){
// Sucess
} else {
// Failure
}
});
How do I get the value from the getResultCode method properly ?