Problems to register user in phonegap

0 votes
Dear All,

I´m trying to register an user in my phonegap app but is not working. This message appears in my log: "05-27 18:39:19.875: D/CordovaLog(14478): : Line 1 : Uncaught ReferenceError: registerForPush is not defined"


Please help me
asked May 27, 2014 in App42 Cloud API-BaaS by adriano.silvestre85 (10 points)

1 Answer

0 votes

Hi Adriano,

Firstly i need to clear that registerForPush is a method in PhoneGap plugin which internally call the storeDeviceToken method of JS SDK. Please refer our sample plugin which will tell you that how you can register your user for send & receive push notification using App42 JS SDK using PhoneGap.

Please follow the step by step integration of registering push with App42.

answered May 28, 2014 by hs00105 (517 points)
edited May 28, 2014 by hs00105
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