Freelancer:
ProudIndian
JS function with string as input
calling javascript function with nsstring *devicetoken as input parameter as described in the attached screenshot, objective-c variable can be assigned to javascript variable for further processing.