How to send push notification from custom code?

0 votes
AFAIK we cannot use App42 classes in custom code. Then how can we send push notification through custom code? Also what else we can achieve from custom code? Any example link apart from custom_sample?
asked Feb 26, 2016 in Cocos2D-X by smitpatel88 (33 points)

1 Answer

0 votes


You can use service class to initialize your app credentials inside custom-code and send push to your app users.  You can write any logic on the top of the custom code and yes we do have another example as well. Please have a look at this link in which Custom code is written for fetching the user profile from Google, Facebook, GitHub etc based on their access token.

Please have a look at above mentioned custom code and let me know if you required any help from my side. 

We will be Happy to assist you!!!


Himanshu Sharma

answered Feb 27, 2016 by hs00105 (2,005 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on