should do it, but it doesn't for me right now. navigator.mozSms is still null. Investigating...
Turns out, dom_sms.xpt was also not being packaged.
Created attachment 586629 [details] [diff] [review]
With this and a hack in Gaia (which expects a full-blown SMS API which we don't have yet, see https://github.com/andreasgal/gaia/commit/82cdd8fed9cd56a8e169ee32c9cc0fc296fa3102), I can *send* SMS! Receiving should work too, but Gaia would need more hacking for that.
We used to be able to receive SMS's, with the old android impl.
(In reply to Chris Jones [:cjones] [:warhammer] from comment #4)
> We used to be able to receive SMS's, with the old android impl.
Yes. But the API changed in the meantime. Not dramatically but enough to require a few changes . Unfortunately I was too lazy to compile, setup and install B2G on my Android phone to make the correct changes to Gaia and Vivien was too lazy to use an Android backend again to do that. I guess now that the Android backend doesn't work with B2G, stuff will have to be fixed while they are pushed in the Gonk backend.
So, to make receiving work, we would have to change:
 Most important change is that events are now sent to mozSms instead of window.
Sounds quite straightforward. Let's make it so!