var dispApp = require('disp.App'); var content = dispApp.getVal("abc");The problem is that the value received in the iOS module function also contains the quotes and brackets too. The NSLog in the iOS function displays - AID :("abc")
The output i expect is - AID :abc
I have tried a lot of things but not able to pass/receive the parameter in that function properly. Please advise, its urgent.
Figured it out myself.
ENSURE_SINGLE_ARG(value, NSString);This does it.
Think you can help? Login to answer this question!