简体   繁体   English

应用程序可在浏览器上运行,但不能在Android Phone中运行-App

[英]Application Working on Browser but not in Android Phone - App

I recently developed the app using HTML, CSS, JS, Firebase and Onsen UI, it is a simple app that pulls the quotes from Firebase and displays it on the main page as categories first and then upon clicking will load the quotes specific to the category. 我最近使用HTML,CSS,JS,Firebase和Onsen UI开发了该应用程序,它是一个简单的应用程序,可从Firebase中提取报价并首先将其显示为类别,然后单击后将加载特定于该类别的报价。

  1. This application works perfectly fine in the browser, but I built the app on online Phonegap via the below git, but the app is not loading the Categories on the main page at all. 该应用程序在浏览器中运行良好,但是我通过以下git在在线Phonegap上构建了该应用程序,但该应用程序根本没有在首页上加载类别。 Checked for the whitelisting, that is sorted as well I guess, please check config.xml 检查了白名单,我想也排序了,请检查config.xml
  2. Side menu has different menus, but only Add Quote is functional, the UI is coming up, but adding is not happening on the App (works fine in the browser) 侧边菜单具有不同的菜单,但是只有“添加报价”才起作用,UI即将出现,但在应用程序上却没有添加(在浏览器中工作正常)

Request someone to help me out here. 请有人在这里帮助我。

  1. Am I doing this right? 我这样做对吗?
  2. Any Onsen framework expert - who can assist me with the back button feature on this app - I am not able to code it. 任何Onsen框架专家-可以通过此应用程序的后退按钮功能为我提供帮助的人-我无法对其进行编码。
  3. Am I missing something? 我想念什么吗?
  4. For online phonegap - is it important to put all the files/folders in www first? 对于在线电话间隙-首先将所有文件/文件夹放在www中是否重要?

https://github.com/santosh610610/finalTest https://github.com/santosh610610/finalTest

When you're building a Phonegap app, your code needs to be in the www folder. 在构建Phonegap应用程序时,您的代码必须位于www文件夹中。 So, in your repository, you will need to create a www folder. 因此,在您的存储库中,您将需要创建www文件夹。 Then move img , lib , index.html and index2.html in there. 然后将imglibindex.htmlindex2.html其中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM