I am trying to play around with django-push-notifications to hopefully integrate it with our system soon. Part of our team is working on the app itself within Firebase, but as a Python backend developer, I would like to test out sending notifications to my personal iPhone. I have the proper APNS dev certs, and I have my device ID, but I don't know of a way I can manually create a registration token to allow me to send messages. The way that I understand it from reading the Firebase docs, it is created once a user engages with the app, and the Swift code in the app handles creating/retrieving and storing the user's registration token. Is that the only way a token can be generated? Not sure what the best way of trying to integrate django-push-notifications if that is the case.
Can I manually create a registration token for my iPhone to use for Firebase Cloud Messaging?
203 Views Asked by Eric At
1
There are 1 best solutions below
Related Questions in IOS
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Is the transactionReceipt data present in dataWithContentsOfURL?
- UIWebView Screen Fitting Issue
- ZXingObjC encoding issues
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Slow performance on ipad erasing image
- Swift code with multiple NSDateFormatter - optimization
- iOS 8.3 Safari crashes on input type=file
- TTTTimeIntervalFormatter always returns strings in English
- How do I add multiple in app purchases in Swift Spritekit?
- Setup code for xibs in iOS. -awakFromNb:
- iOS Voice Over only reads out the title of any alert views
Related Questions in DJANGO
- Display images on Django Template Site
- Protractor did not run properly when using browser.wait, msg: "Wait timed out after XXXms"
- Django invalid literal for int() with base 10:
- Removing URL features from tokens in NLTK
- Django Noob URL to from Root Page to sub Page
- Django Admin tables not displaying correctly
- Django with chartkick
- Django urls.py not rendering correct template
- django form errors before submit
- django admin: custom app_index with context
- Display multiple models in one view in Django
- Unexpected NoReverseMatch error when using include() in urls patterns
- Search for a key in django.core.cache
- Django webapp (on an Apache2 server) hangs indefintely when importing nltk in views.py
- Django flush won't load fixtures
Related Questions in FIREBASE
- Firebase facebook authentication not working
- Add @JsonAutoDetect to third party lib and firebase Java lib
- firebase-import timing out?
- Understanding Firebase orderByChild
- Wait until Firebase retrieves data
- Firebase logout show Permission denied error.
- angular $firebaseArrray: difference between controller and directive
- Firebase: combine filtering with ordering in swift
- AngularJS - Firebase - Promise Error
- How to get simple list of devices on a Nest account using Firebase in Android?
- Event-Driven(Real - Time) mobile set-up suggestions
- How do you nest two of Polymer's firebase-collection elements inside dom-repeat?
- AngularFire Watch and Retrieve Item Key
- Firebase and AngularFire - $add in a array - unexpected behaviour
- Saving an html object to firebase
Related Questions in FIREBASE-CLOUD-MESSAGING
- How to implement Google Cloud Messaging - Topic Messaging in Chrome?
- Android Push Notifications: Icon not displaying in notification, white square shown instead
- push notification with cordova and firebase Cloud messaging:registrationID keep changing
- Can not resolve symbol "FirebaseMessagingService"
- Firebase Messaging Unity Plugin shows notifications only in foreground
- How to send activity to Firebase Message value or call activity?
- Android - Firebase notifications not working
- Show Dialog when touch notification on Android
- FCM + Swift 3 - Notifications not appearing
- What is the difference between deviceToken of type Data and Fir InstanceID token of type optional String in Swift - IOS?
- Xcode 8.1 Push Notifications in swift 2.3 with firebase integration not getting?
- FirebaseInstanceId: background sync failed: PHONE_REGISTRATION_ERROR, retry in 10s/20s/40s
- notification on background firebase show dialog when apps open
- FCM not getting in background after legacy key
- Android Firebase notifications (FCM)
Related Questions in DJANGO-PUSH-NOTIFICATIONS
- APNS_CERTIFICATE - Push Notification does not send in production
- Django push notifications: InvalidRegistration with correct registration_id
- django-push-notification 401 unauthorised
- How to send Push Notifications at Specific times listed in a Django Model
- How to send foreground and background push notification to android using django push notification package
- Sending iOS Push Notifications using Django: HTTP/2-based APNs provider API and binary protocol
- Django Push Notification - Can't read ANPS certificate file
- how to fix 'InvalidRegistration' FCM
- SSLError: [Errno 1] _ssl.c:510: error:1409442E:SSL routines:SSL3_READ_BYTES:tlsv1 alert protocol version
- Firebase for notification and aws for backend and database
- Sending Django push notification to APNs gets protocol error
- Can I manually create a registration token for my iPhone to use for Firebase Cloud Messaging?
- Django Push_notification's Bare Device can't be imported
- How to link Django project to APNS .p8 key on Google Cloud Platform
- Set up Django push notification for web only
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
There is currently no other way to generate the token other than calling
getToken()on the client app's side.You would have to need to ask your iOS dev friend to at least make a simple app that generates the token, so you could use it for testing.