Skip to content

Flutter geofencing package issue #52885

@devUsama

Description

@devUsama

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

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