Error while sending push notification for Android

Avatar

Avatar

emilr19993875

Avatar

emilr19993875

emilr19993875

25-11-2020

Hi,

 

When I try to send push notifications I get the following error in the delivery logs:

Error while compiling script 'nms:androidPushConnectorV2.js' line 1: syntax error (line='?/******************************************************************************\ ' token='?/******************************************************************************\ ').\ SCR-160032 Javascript: error while compiling script 'nms:androidPushConnectorV2.js'.\

 

I'm on build 9032, anyone else had the same issue and found a solution for it?

 

//Emil

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

wodnicki

MVP

Avatar

wodnicki

MVP

wodnicki
MVP

25-11-2020

Hi,

 

I've seen this before, I don't remember the cause (encoding?).

Delete the ? at the start before the / and you should be fine.

 

To disable the client console message saying it's not possible to modify the script, follow these steps:

  1. Change the name to nmsx:androidPushConnectorV2.js, or anything that's not nms, don't save!
  2. Delete offending char
  3. Change name back to nms, then save

 

Thanks,

-Jon

Answers (0)