e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/HeadlessJobService.kt: (4, 31): Unresolved reference: JobIntentService
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/HeadlessJobService.kt: (15, 72): Unresolved reference: JobIntentService
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/HeadlessJobService.kt: (30, 5): 'onCreate' overrides nothing
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/HeadlessJobService.kt: (31, 15): Unresolved reference: onCreate
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/HeadlessJobService.kt: (32, 30): Type mismatch: inferred type is HeadlessJobService but Context was expected
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/geofence/GeofenceTransitionsJobIntentService.kt: (17, 31): Unresolved reference: JobIntentService
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/geofence/GeofenceTransitionsJobIntentService.kt: (18, 31): Unresolved reference: NotificationCompat
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/geofence/GeofenceTransitionsJobIntentService.kt: (19, 31): Unresolved reference: TaskStackBuilder
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/geofence/GeofenceTransitionsJobIntentService.kt: (43, 77): Type inference failed. Expected type mismatch: inferred type is Class<GeofenceTransitionsJobIntentService> but Intent was expected
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/geofence/GeofenceTransitionsJobIntentService.kt: (43, 83): Too many arguments for public final fun enqueueWork(context: Context, intent: Intent): Unit defined in com.webstersys.geofence.geofence.GeofenceTransitionsJobIntentService.Companion
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/geofence/GeofenceTransitionsJobIntentService.kt: (43, 117): Too many arguments for public final fun enqueueWork(context: Context, intent: Intent): Unit defined in com.webstersys.geofence.geofence.GeofenceTransitionsJobIntentService.Companion
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/geofence/GeofenceTransitionsJobIntentService.kt: (67, 5): 'onHandleWork' overrides nothing
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/geofence/GeofenceTransitionsJobIntentService.kt: (71, 54): None of the following functions can be called with the arguments supplied:
public final fun getErrorString(context: Context, e: kotlin.Exception /* = java.lang.Exception */): String defined in com.webstersys.geofence.geofence.GeofenceErrorMessages
public final fun getErrorString(context: Context, errorCode: Int): String defined in com.webstersys.geofence.geofence.GeofenceErrorMessages
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/geofence/GeofenceTransitionsJobIntentService.kt: (106, 24): Unresolved reference: getString
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/geofence/GeofenceTransitionsJobIntentService.kt: (140, 36): Unresolved reference: getSystemService
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/geofence/GeofenceTransitionsJobIntentService.kt: (144, 24): Unresolved reference: getString
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/geofence/GeofenceTransitionsJobIntentService.kt: (168, 23): Unresolved reference: NotificationCompat
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/geofence/GeofenceTransitionsJobIntentService.kt: (176, 21): Unresolved reference: resources
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/geofence/GeofenceTransitionsJobIntentService.kt: (182, 29): Unresolved reference: getString
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/geofence/GeofenceTransitionsJobIntentService.kt: (205, 58): Unresolved reference: getString
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/geofence/GeofenceTransitionsJobIntentService.kt: (206, 57): Unresolved reference: getString
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/geofence/GeofenceTransitionsJobIntentService.kt: (207, 28): Unresolved reference: getString
e: /Users/debkanchansamadder/flutter/.pub-cache/hosted/pub.dartlang.org/geofence-1.0.3/android/src/main/kotlin/com/webstersys/geofence/geofence/GeofencingStore.kt: (7, 24): Unresolved reference: annotation
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.ride.partner">
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<!-- <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> -->
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<!-- TODO: add tools:replace="android:label" and android:name=".MainActivity" to application-->
<application
android:name=".Geofence"
android:label="Partner"
android:icon="@mipmap/ic_launcher">
<uses-library android:name="org.apache.http.legacy" android:required="false"/>
<meta-data android:name="com.google.android.geo.API_KEY"
android:value="AIzaSyASjLjFYOtDUdX0PfWb6tOYoJciONgoQlU"/>
<!-- Set custom default icon. This is used when no icon is set for incoming notification messages. See README(https://goo.gl/l4GJaQ) for more. -->
<meta-data
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/ic_stat_notification" />
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<!-- This keeps the window background of the activity showing
until Flutter renders its first frame. It can be removed if
there is no splash screen (such as the default splash screen
defined in @style/LaunchTheme). -->
<meta-data
android:name="io.flutter.embedding.android.SplashScreenDrawable"
android:resource="@drawable/launch_background"/>
<!-- Theme to apply as soon as Flutter begins rendering frames -->
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<intent-filter>
<action android:name="FLUTTER_NOTIFICATION_CLICK" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<receiver android:name="com.webstersys.geofence.geofence.GeofenceBroadcastReceiver"
android:enabled="true"
android:exported="true" />
<service android:name="com.webstersys.geofence.geofence.GeofenceTransitionsJobIntentService" android:enabled="true" android:exported="true"
android:permission="android.permission.BIND_JOB_SERVICE"/>
<receiver android:name="com.webstersys.geofence.BootDeviceReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>
<meta-data
android:name="flutterEmbedding"
android:value="2"/>
<activity
android:name="com.yalantis.ucrop.UCropActivity"
android:screenOrientation="portrait"
android:theme="@style/Theme.AppCompat.Light.NoActionBar"/>
</application>
</manifest>
package com.ride.partner
import com.webstersys.geofence.geofence.GeofenceTransitionsJobIntentService
import io.flutter.app.FlutterApplication
import io.flutter.plugin.common.PluginRegistry
import io.flutter.plugins.GeneratedPluginRegistrant
class Geofence : FlutterApplication(), PluginRegistry.PluginRegistrantCallback {
override fun onCreate() {
super.onCreate();
GeofenceTransitionsJobIntentService.setPluginRegistrant(this)
}
override fun registerWith(registry: PluginRegistry) {
GeneratedPluginRegistrant.registerWith(registry);
}
}