我创建了我的项目并在
jott.meteor.com
我正在尝试使用"Building Mobile Apps."将其移植到Android
当我这样做时,右上角的登录按钮不会出现,它使用Accounts UI包。
See these screenshots!
<div id="a" class="container">
<div id="b" class="starter-template">
<div id="header">
<div id="jotttitle"><span id="jottspan">Jott</span></div>
<div id="login">{{> loginButtons}}</div>
</div>
<br/>{{> textGoesHere}}
</div>
</div>
很难看,我正在做这个,但这是{{>loginButtons}所在的HTML。我确实更改了弹出窗口的一些CSS,但我不确定这是否会影响它。如果你需要更多的信息,请告诉我。谢谢!
最佳答案
This
link真的帮助我和用户一起解决了这个问题!
原来如果我跑
meteor run android-device
它不起作用,因为我从未指定移动应用程序要查找的服务器。
我需要做的是:
meteor run android-device --mobile-server https://example.com
对我来说,它看起来像:
meteor run android-device --mobile-server https://jott.meteor.com
结果成功了!
有关其他资源,请参见CodeChimp!