Closed Broly-Dev closed 7 years ago
Sure thing! I will be working on that today.
Actually I see exactly what your issue is and why it's confusing. The Device object is missing some fields, one of which is "has_sms". You'll need to know which device has SMS in order to use that device's iden as the "TargetDeviceIden" on the SMSEphemeral object.
I'm making an update to that object now. I'm also going to go through other objects that Pushbullet returns to make sure that the rest of the PushbulletSharp response objects have all of the properties that Pushbullet sends.
I just pushed up a hotfix on nuget which has the updated Device object with the HasSMS field. Use that device's Iden as the TargetDeviceIden for the SMSEphemeral request.
Ok, I just finished writing documentation for the ephemerals. Be sure to update to version 3.0.1 which is now available on nuget. I hope this clears things up!
https://github.com/adamyeager/PushbulletSharp/wiki/Ephemerals
Got it, all working. Thanks very much for your work!
On Tue, Nov 8, 2016 at 2:43 PM, Adam Yeager notifications@github.com wrote:
Closed #21 https://github.com/adamyeager/PushbulletSharp/issues/21.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/adamyeager/PushbulletSharp/issues/21#event-851582793, or mute the thread https://github.com/notifications/unsubscribe-auth/ATp8AJBcM4AM9QnmloC4sAQNgxOI--CZks5q8IqjgaJpZM4KsW18 .
It is difficult to extract from the unit tests how to use the ephemerals. Please update the wiki with examples.