Ionic Build failed BG Location and azure notification hub plugin

I am using ionic framework to develop cross platform mobile application. There is a requirement to receive notfication from web application. So i have installed plugin from https://github.com/sgrebnov/co… for azure notification hub. If i run the application without including anyother plugin my application is working fine. But i have another requirement of GPS tracking so I am using background geolocation plugin. If i use background geolocation plugin along with notification hub I am facing problem to build the application. Please do the needful. I am facing problem as follows :
D:\Hybrid-SVN\TEST CRM\WorkforceMobileCrm\platforms\android\src\com\marianhello\bgloc\ActivityRecognitionLocationPro…:193:
error: cannot find symbol
return LocationRequest.PRIORITY_LOW_POWER;
^
symbol: variable PRIORITY_LOW_POWER
location: class LocationRequest
D:\Hybrid-SVN\TEST CRM\WorkforceMobileCrm\platforms\android\src\com\marianhello
bgloc\ActivityRecognitionLocationPro…:233: error: cannot find symbol
case DetectedActivity.RUNNING:
^
symbol: variable RUNNING
location: class DetectedActivity
D:\Hybrid-SVN\TEST CRM\WorkforceMobileCrm\platforms\android\src\com\marianhello
bgloc\ActivityRecognitionLocationPro…:241: error: cannot find symbol
case DetectedActivity.WALKING:
^
symbol: variable WALKING
location: class DetectedActivity
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
FAILED
BUILD FAILED
Total time: 8.55 secs
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:compileDebugJavaWithJavac’.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug
    option to get more log output.
    Error: Error code 1 for command: cmd with args: /s,/c,““D:\Hybrid-SVN\TEST CRM\W
    orkforceMobileCrm\platforms\android\gradlew” cdvBuildDebug -b “D:\Hybrid-SVN\TES
    T CRM\WorkforceMobileCrm\platforms\android\build.gradle” -Dorg.gradle.daemon=tru
    e -Pandroid.useDeprecatedNdk=true”

Please do the needful.