Software Archive
Read-only legacy content
告知
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 ディスカッション

toastr

Dan_K_
ビギナー
947件の閲覧回数

I'm using a plugin that provides a 'toast-like' popup; see https://github.com/CodeSeven/toastr

Works in the emulator but not in the App Preview. Any ideas?

 

 

0 件の賞賛
4 返答(返信)
Amrita_C_Intel
従業員
947件の閲覧回数

I'm guessing that your app is hung up trying to retrieve over the device network interface. Please read this doc regarding the limitations of the Emulate tab > https://software.intel.com/en-us/xdk/docs/intel-xdk-debug-and-test-overv... and see the rest of that page for a variety of suggestions regarding how to debug your app on a real device. Also, check this documentation regarding the domain white list feature in the Build Settings on the Projects tab >http://cordova.apache.org/docs/en/4.0.0/guide_appdev_whitelist_index.md....

Suggestion:

Try killing the current running version of the app preview. 

What happens if you build the app?

 

Dan_K_
ビギナー
947件の閲覧回数

When I do a build and download to Google Drive, then access via the phone, I get "Parse Error - an error occurred while parsing the package".

 

Amrita_C_Intel
従業員
947件の閲覧回数

Can you provide the build log or error you are getting?

Dan_K_
ビギナー
947件の閲覧回数

A rebuild did the trick. Not sure what the issue was.

 

返信