如何删除流星上的闪屏

时间:2015-05-03 21:08:33

标签: cordova mobile meteor

如何删除Cordova与MeteorJS集成的默认启动画面?我似乎无法在Meteor Docs上找到任何相关信息。

2 个答案:

答案 0 :(得分:0)

我不知道如何删除启动画面但是要替换默认启动画面,您需要设置如下内容:

Glassfish log contents:
2015-05-03T18:38:30.480-0600|Info: SalesOrder found with UID: 51
2015-05-03T18:38:30.480-0600|Info: Number of line items sent back to the REST service with the order is: 2
2015-05-03T18:38:30.480-0600|Info: Item Quantity is: 10
2015-05-03T18:38:30.480-0600|Info: Item Quantity is: 5
2015-05-03T18:38:30.480-0600|Info: Response status: 200
2015-05-03T18:38:30.480-0600|Info: Response status info: OK
2015-05-03T18:38:30.480-0600|Info: Response class: class org.glassfish.jersey.message.internal.OutboundJaxrsResponse
2015-05-03T18:38:30.480-0600|Info: Response length: -1
2015-05-03T18:38:30.480-0600|Info: Response media type: application/json
2015-05-03T18:38:30.480-0600|Info: Response entity: business.salesOrderMgmt.entity.SalesOrder@2a461205
2015-05-03T18:38:30.480-0600|Info: Response entity number of line items: 2
2015-05-03T18:38:30.481-0600|Info: Response is: OutboundJaxrsResponse{status=200, reason=OK, hasEntity=true, closed=false, buffered=false}

在项目根目录中的mobile-config.js中

有关详细信息,请查看:https://github.com/phonegap/phonegap/wiki/App-Splash-Screen-Sizes

答案 1 :(得分:0)

我想我发现了怎么做。

在mobile-config.js中:

App.setPreference('SplashScreen', 'CDVSplashScreen')