← Back to issues
aniccom/jordsabuy-app

FirebaseException: [firebase_messaging/apns-token-not-set] APNS token has not been set yet. Please ensure the APNS token is available by calling `getAPNSToken()`.

https://aniccom.sentry.io/issues/6698875902/
Issue ID6698875902
Short IDJORDSABUY-APP-289
Statusunresolved
Substatusongoing
Levelfatal
Typeerror
Categoryerror
Culpritmethod_channel_messaging.dart in MethodChannelFirebaseMessaging._APNSTokenCheck
First seen2025-06-21T14:51:44.455000Z
Last seen2026-06-14T06:53:34.861531Z
Event count711
User count159
Platformother
Projectjordsabuy-app
{
  "id": "6698875902",
  "shareId": null,
  "shortId": "JORDSABUY-APP-289",
  "title": "FirebaseException: [firebase_messaging/apns-token-not-set] APNS token has not been set yet. Please ensure the APNS token is available by calling `getAPNSToken()`.",
  "culprit": "method_channel_messaging.dart in MethodChannelFirebaseMessaging._APNSTokenCheck",
  "permalink": "https://aniccom.sentry.io/issues/6698875902/",
  "logger": null,
  "level": "fatal",
  "status": "unresolved",
  "statusDetails": {},
  "substatus": "ongoing",
  "isPublic": false,
  "platform": "other",
  "project": {
    "id": "1483358",
    "name": "Jordsabuy Mobile App",
    "slug": "jordsabuy-app",
    "platform": "dart"
  },
  "type": "error",
  "metadata": {
    "value": "[firebase_messaging/apns-token-not-set] APNS token has not been set yet. Please ensure the APNS token is available by calling `getAPNSToken()`.",
    "type": "FirebaseException",
    "filename": "method_channel_messaging.dart",
    "function": "MethodChannelFirebaseMessaging._APNSTokenCheck",
    "in_app_frame_mix": "mixed",
    "sdk": {
      "name": "sentry.dart.flutter",
      "name_normalized": "sentry.dart"
    },
    "initial_priority": 75,
    "title": null
  },
  "numComments": 0,
  "assignedTo": null,
  "isBookmarked": false,
  "isSubscribed": false,
  "subscriptionDetails": null,
  "hasSeen": false,
  "annotations": [],
  "issueType": "error",
  "issueCategory": "error",
  "priority": "high",
  "priorityLockedAt": null,
  "seerFixabilityScore": null,
  "seerAutofixLastTriggered": null,
  "seerExplorerAutofixLastTriggered": null,
  "isUnhandled": true,
  "count": "711",
  "userCount": 159,
  "firstSeen": "2025-06-21T14:51:44.455000Z",
  "lastSeen": "2026-06-14T06:53:34.861531Z",
  "stats": {
    "24h": [
      [
        1781341200,
        0
      ],
      [
        1781344800,
        0
      ],
      [
        1781348400,
        1
      ],
      [
        1781352000,
        0
      ],
      [
        1781355600,
        1
      ],
      [
        1781359200,
        0
      ],
      [
        1781362800,
        0
      ],
      [
        1781366400,
        0
      ],
      [
        1781370000,
        1
      ],
      [
        1781373600,
        0
      ],
      [
        1781377200,
        0
      ],
      [
        1781380800,
        0
      ],
      [
        1781384400,
        0
      ],
      [
        1781388000,
        0
      ],
      [
        1781391600,
        0
      ],
      [
        1781395200,
        0
      ],
      [
        1781398800,
        0
      ],
      [
        1781402400,
        0
      ],
      [
        1781406000,
        1
      ],
      [
        1781409600,
        0
      ],
      [
        1781413200,
        0
      ],
      [
        1781416800,
        1
      ],
      [
        1781420400,
        0
      ],
      [
        1781424000,
        0
      ]
    ]
  }
}

Last event

OSiOS 26.4.1
Releasecom.aniccom.jordsabuy@2.7.4+84
Event ID5bade77a5f4e400fb8f06e666308fcb7
Event typeerror
Created2026-06-14T06:53:34Z
Platformother
TitleFirebaseException: [firebase_messaging/apns-token-not-set] APNS token has not been set yet. Please ensure the APNS token is available by calling `getAPNSToken()`.
Culpritmethod_channel_messaging.dart in MethodChannelFirebaseMessaging._APNSTokenCheck
Locationmethod_channel_messaging.dart
Project ID1483358
{
  "id": "5bade77a5f4e400fb8f06e666308fcb7",
  "event.type": "error",
  "groupID": "6698875902",
  "eventID": "5bade77a5f4e400fb8f06e666308fcb7",
  "projectID": "1483358",
  "message": "",
  "title": "FirebaseException: [firebase_messaging/apns-token-not-set] APNS token has not been set yet. Please ensure the APNS token is available by calling `getAPNSToken()`.",
  "location": "method_channel_messaging.dart",
  "culprit": "method_channel_messaging.dart in MethodChannelFirebaseMessaging._APNSTokenCheck",
  "user": {
    "id": "CD808C73-3BC9-435E-9915-AE4FF7AB8DE2",
    "email": null,
    "username": null,
    "ip_address": null,
    "name": null,
    "geo": {
      "country_code": "TH",
      "city": "Bangkok",
      "region": "Thailand"
    },
    "data": null
  },
  "tags": [
    {
      "key": "app.device",
      "value": "1015d9d3330d48c454ca66af5ce69a3b51279670"
    },
    {
      "key": "dart",
      "value": "Dart 3.10.4 (stable)"
    },
    {
      "key": "dart.name",
      "value": "Dart"
    },
    {
      "key": "device",
      "value": "iPhone18,4"
    },
    {
      "key": "device.class",
      "value": "high"
    },
    {
      "key": "device.family",
      "value": "iOS"
    },
    {
      "key": "environment",
      "value": "production"
    },
    {
      "key": "event.environment",
      "value": "dart"
    },
    {
      "key": "event.origin",
      "value": "flutter"
    },
    {
      "key": "flutter.name",
      "value": "Flutter"
    },
    {
      "key": "flutter0",
      "value": "Flutter 3.38.5 (stable)"
    },
    {
      "key": "flutter0.name",
      "value": "Flutter"
    },
    {
      "key": "handled",
      "value": "no"
    },
    {
      "key": "interface_type",
      "value": "exception"
    },
    {
      "key": "level",
      "value": "fatal"
    },
    {
      "key": "mechanism",
      "value": "PlatformDispatcher.onError"
    },
    {
      "key": "os",
      "value": "iOS 26.4.1"
    },
    {
      "key": "os.build",
      "value": "23E254"
    },
    {
      "key": "os.name",
      "value": "iOS"
    },
    {
      "key": "os.rooted",
      "value": "no"
    },
    {
      "key": "dist",
      "value": "84"
    },
    {
      "key": "release",
      "value": "com.aniccom.jordsabuy@2.7.4+84"
    },
    {
      "key": "user",
      "value": "id:CD808C73-3BC9-435E-9915-AE4FF7AB8DE2",
      "query": "user.id:\"CD808C73-3BC9-435E-9915-AE4FF7AB8DE2\""
    }
  ],
  "platform": "other",
  "dateCreated": "2026-06-14T06:53:34Z",
  "crashFile": null,
  "metadata": {
    "filename": "method_channel_messaging.dart",
    "function": "MethodChannelFirebaseMessaging._APNSTokenCheck",
    "in_app_frame_mix": "mixed",
    "type": "FirebaseException",
    "value": "[firebase_messaging/apns-token-not-set] APNS token has not been set yet. Please ensure the APNS token is available by calling `getAPNSToken()`."
  }
}