I've tried everything I could think of, looking at the docs, the examples, but I just can't get the library to work with development device tokens. Tried creating a UriFactory and setting the "sandbox" variable to true, but that didn't help. I validated my token through the Push Notifications console in my Apple Developer account, this is what the validator is giving me:
"Device Token is valid for sending Alert & Background push-type notifications in the Development environment"
But no matter what I try to push a test notification, this is what I always get:
"Failed to send notification: Bad device token."
Can I not use the development sandbox environment with this library?
I've tried everything I could think of, looking at the docs, the examples, but I just can't get the library to work with development device tokens. Tried creating a UriFactory and setting the "sandbox" variable to true, but that didn't help. I validated my token through the Push Notifications console in my Apple Developer account, this is what the validator is giving me:
"Device Token is valid for sending Alert & Background push-type notifications in the Development environment"
But no matter what I try to push a test notification, this is what I always get:
"Failed to send notification: Bad device token."
Can I not use the development sandbox environment with this library?