benCoding.SMS icon indicating copy to clipboard operation
benCoding.SMS copied to clipboard

Issue with doc

Open yankovalera opened this issue 8 years ago • 1 comments

Hello this example:

var sms = require('bencoding.SMS').createSMSDialog({ barColor:'#336699', //set the SMS Dialog barColor messageBody:"Appcelerator Titanium Rocks!", //Set SMS Message toRecipients:[{"555-555-5555"},{"444-444-4444"}] //Who we are the SMS sending to });

Requiring "'bencoding.SMS" throws this: Script Error Couldn't find module: bencoding.SMS for architecture: armv7 (should be all lowercase)

Also having the recipients enclosed with {} throws an error when compiling.

Thanks

yankovalera avatar May 19 '16 09:05 yankovalera

The module definitely requires an Array argument that holds Strings, not Objects, see here.

hansemannn avatar Jun 23 '16 20:06 hansemannn