Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6151039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:42:41+00:00 2026-05-23T19:42:41+00:00

I have a grails app, and I am using the java-apns 0.1.5 jar! I

  • 0

I have a grails app, and I am using the java-apns 0.1.5 jar! I have a device key, which already uninstall my app from it, so my question is, should I receive same feedback from the API saying that device is not enable anymore?
My code is the following:

apnsService = APNS.newService()
        .withCert(pathToCertificate, password)
        .withFeedbackDestination("feedback.sandbox.push.apple.com",2196)
        .withSandboxDestination()
        .build();

apnsService.start();

Map<String, Date> inactiveDevices = apnsService.getInactiveDevices();
log.debug inactiveDevices

.....

the think is that, the variable inactiveDevices is always empty! why? if I uninstall the app from the device?! am I missing some think in the client(device) side?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T19:42:41+00:00Added an answer on May 23, 2026 at 7:42 pm

    If you are using the Sandbox destination, the feedback service may not
    report info correctly. This is a known bug with a known workaround,
    check the mailing list thread

    The problem comes from the “Sandbox” APNs Feedback server, probably a
    bug. Here is the solution if anyone has the same problem:

    Create a dummy app id in the program portal, enable development push
    notifications on it Create and download the associated provisioning
    profile Create a new xcode project, and invoke the
    registerForRemoteNotificationTypes method on start. Install the dummy
    app on your device. At this point, you should have two DEVELOPMENT
    apps running on your device: the original app and the dummy app. Both
    should be registered to receive push notifications. Uninstall the
    original app, and try to send a push notification to that app. Invoke
    the feedback service, and you should receive data back.

    To resume, the Sandbox Feedbacks server needs TWO DEVELOPMENT Apps
    registered on the SAME iPhone to work. This manipulation is not
    necessary for the production phase as the “Production” APNs Feedback
    server works fine.

    I would recommend just switching to test feedback with the production servers.
    Please either test with the production servers or use the workaround.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hy, I'm developing a Grails app which has to communicate with an existing Java
I have an external java library I am using in my Grails project. It
I have a grails app that is using jsecurity plugin for authentication. How do
I'm writing a web app using grails and spring-security 3.0.3 which requires me to
I'm writing a small webapp in Grails and I have the following question regarding
Have just started using Visual Studio Professional's built-in unit testing features, which as I
Grails have cofig for spring bean called resources.groovy . And as i understand from
This is my current scenario: I have checked in my grails app code +
I have been trying for 4 days to get app-engine and grails working together
I am developing an app using Grails and GWT for a client side. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.