-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
On build Flutter geofencing package giving these errors related to GeofencingService and IsolateHolderService files of package
flutter/.pub-cache/hosted/pub.dartlang.org/geofencing-0.0.1/android/src/main/kotlin/io/flutter/plugins/geofencing/GeofencingService.kt: (11, 31): Unresolved reference: JobIntentService
flutter/.pub-cache/hosted/pub.dartlang.org/geofencing-0.0.1/android/src/main/kotlin/io/flutter/plugins/geofencing/GeofencingService.kt: (28, 46): Unresolved reference: JobIntentService
flutter/.pub-cache/hosted/pub.dartlang.org/geofencing-0.0.1/android/src/main/kotlin/io/flutter/plugins/geofencing/GeofencingService.kt: (48, 59): Type inference failed. Expected type mismatch: inferred type is Class but Intent was expected
flutter/.pub-cache/hosted/pub.dartlang.org/geofencing-0.0.1/android/src/main/kotlin/io/flutter/plugins/geofencing/GeofencingService.kt: (48, 65): Too many arguments for @JvmStatic public final fun enqueueWork(context: Context, work: Intent): Unit defined in io.flutter.plugins.geofencing.GeofencingService.Companion
flutter/.pub-cache/hosted/pub.dartlang.org/geofencing-0.0.1/android/src/main/kotlin/io/flutter/plugins/geofencing/GeofencingService.kt: (48, 73): Too many arguments for @JvmStatic public final fun enqueueWork(context: Context, work: Intent): Unit defined in io.flutter.plugins.geofencing.GeofencingService.Companion
flutter/.pub-cache/hosted/pub.dartlang.org/geofencing-0.0.1/android/src/main/kotlin/io/flutter/plugins/geofencing/GeofencingService.kt: (113, 5): 'onCreate' overrides nothing
flutter/.pub-cache/hosted/pub.dartlang.org/geofencing-0.0.1/android/src/main/kotlin/io/flutter/plugins/geofencing/GeofencingService.kt: (114, 15): Unresolved reference: onCreate
flutter/.pub-cache/hosted/pub.dartlang.org/geofencing-0.0.1/android/src/main/kotlin/io/flutter/plugins/geofencing/GeofencingService.kt: (115, 32): Type mismatch: inferred type is GeofencingService but Context was expected
flutter/.pub-cache/hosted/pub.dartlang.org/geofencing-0.0.1/android/src/main/kotlin/io/flutter/plugins/geofencing/GeofencingService.kt: (118, 5): 'onHandleWork' overrides nothing
flutter/.pub-cache/hosted/pub.dartlang.org/geofencing-0.0.1/android/src/main/kotlin/io/flutter/plugins/geofencing/IsolateHolderService.kt: (14, 31): Unresolved reference: NotificationCompat
flutter/.pub-cache/hosted/pub.dartlang.org/geofencing-0.0.1/android/src/main/kotlin/io/flutter/plugins/geofencing/IsolateHolderService.kt: (48, 28): Unresolved reference: NotificationCompat
flutter/.pub-cache/hosted/pub.dartlang.org/geofencing-0.0.1/android/src/main/kotlin/io/flutter/plugins/geofencing/IsolateHolderService.kt: (52, 30): Unresolved reference: NotificationCompat