Closed vinayhfs closed 8 years ago
Perhaps you're better served by moving this to StackOverflow of the NativeScript Slack channel since this doesn't ring a bell for me...
Fixed - context.startActivity(mailIntent); context was null even though set at top. So line changed to application.android.context.startActivity(mailIntent);
Ah, yeah, that's part of this changeset but it's not released yet, I'll do that now.
Email plugin Not working in nativiescript + ng but works in just nativescript Error - JS: Unhandled Promise rejection: Cannot read property 'startActivity' of undefined ; Zone: angular ; Task: Promise.then ; Value: TypeError: Cannot read property 'startActivity' of undefined JS: Error: Uncaught (in promise): TypeError: Cannot read property 'startActivity' of undefined