Skip to content

AngularJS 2 + TS example #4

@snekbaev

Description

@snekbaev

Hi,

is it possible to have aforementioned example? I'm new to NS including the subject tech. Trying to find my way to get sms received broadcast receiver configured. If I just copy NotificationServiceStartReceiver into .ts file, rebuild and run the thing I get an exception:

java.lang.RuntimeException: Unable to instantiate receiver com.tns.broadcastreceivers.NotificationServiceStarterReceiver: java.lang.ClassNotFoundException: Didn't find class "com.tns.broadcastreceivers.NotificationServiceStarterReceiver" on path: DexPathList[[zip file "/data/app/com.theapp.Beeper-1/base.apk"],nativeLibraryDirectories=[/data/app/com.theapp.Beeper-1/lib/arm, /data/app/com.theapp.Beeper-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]

I do have permissions configured correctly: static manifest + runtime via permissions plugin. Also registered the receiver in the manifest with priority 999. Exception happens when Sms is inbound

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions