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 7904491
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T10:05:54+00:00 2026-06-03T10:05:54+00:00

We are implementing MDM solution in house. We have registered as MDM vendor and

  • 0

We are implementing MDM solution in house. We have registered as MDM vendor and followed the steps from this site and got the final APNS certificate. We also installed a MDM profile in the device which points to our back end server which is capable of receiving/sending payloads to the device.

Then we used java-apns library to send a sample notification. Below is the sample code for the same.

    ApnsService service =
            APNS.newService()
            .withCert("test.p12", "xxxxxxx")
            .withProductionDestination()
            .build();
    String pushMagic = "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx";

    String mdmPayload = APNS.newPayload().mdm(pushMagic).build();
    service.push(pushMagic, mdmPayload);

Above execution goes through successfully. But device doesn’t receive any notifications. Can someone throw some light on this? Thanks in advance.

Update:
Found couple of issues in our implementation. push API takes device token and payload. We were incorrectly using pushmagic as token in push API. Also devices send the device token in base64 format during initial check-in. So it needs to be converted to hexa format and used in push API.

With these two changes, we are one step ahead. Now feedback service is returning a message saying that the corresponding device is inactive. We tried reinstalling the profile and used the latest push magic and device token. Still Feedback service is returning the same message.

  • 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-06-03T10:05:55+00:00Added an answer on June 3, 2026 at 10:05 am

    If you are still facing the issue, follow MDM_Protocol very carefully. Try to use production APNS first.

    If there is any other issue provide the issue details.

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

Sidebar

Related Questions

While implementing the code from this question on my project I realized there's 3
implementing publishActivity in PHP using the REST API using this code: $activity = array(
Implementing a simple Login screen using JSF and Spring and Hibernate. I have written
When implementing move constructors and move assignment operators, one often writes code like this:
Im implementing NFS and almoste done but the RFC section 3.3.8 says this in
Implementing/handling idempotency in c# with Jolivers EventStore. Does this mean just taking care of
I implementing OLE DB provider for my custom database. It will be used from
While implementing this generic merge sort , as a kind of Code Kata ,
Implementing swing applications, often you realize class of components that should have a coherent
When implementing Quicksort, one of the things you have to do is to choose

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.