signalpoint / DrupalGap

An application development kit for Drupal websites.
https://www.drupalgap.org
GNU General Public License v2.0
232 stars 185 forks source link

Drupalgap routing issues. #1030

Open liquidcms opened 5 years ago

liquidcms commented 5 years ago

I think DG is an awesome idea but having played around with it for a few days I wonder if it's basic routing system would be reliable enough to build a professional app?

I have set up the "no app" app which is just install the SDK and go to the app which shows the content and user menus and the home Welcome Page. I have also build out the Hello World example and my own simple 2 page app. It is awesome how easy it is to interface with my D7 site using this framework. But... and its a pretty big "but"... i can easily get any of these to crash by simply clicking through the navigation a little. This happens in either the web-app or compiled to a real Android app.

Thought perhaps this might be due to this being an old library and too many things changing over the years; but i see Tyler has done commits as recently as last month.

I'd love to think this is simply some setup issue on my part; but I haven't really set anything up yet - just turned the SDK on.

Having worked a bit with Ionic I certainly know the issues with page routing and unlike web apps, js apps seem to have a big problem making this reliable.

I have a bunch of questions:

As awesome as the simplicity of setting up _menu and _page hooks that DG provides compared to much more complicated/generic Angular approach of Ionic; it's not possible to go back to my client with an app that hangs as i navigate the app.

I really hope I am missing something here as I have a very simple app to do and was REALLLLY hoping DG would be sufficient. :)

liquidcms commented 5 years ago

Hmm... now that i have recompiled the basic SDK app (dashboard) I can't seem to get it to crash other than this issue which still occurs: https://github.com/signalpoint/DrupalGap/issues/1028. The web app for dashboard is still pretty easy to make fail but perhaps a timing issue that the mobile app is now more reliable.

I'll recompile the Hello World app and see how it works.

liquidcms commented 5 years ago

Hello World web-app fails quite easily still; but the app doesn't exactly crash... but it sort of can be made to hang. I can easily get it to a state where the home icon is unresponsive but highlighted (not on the home page). But i see now that slowly tapping it a few times and it will eventually go to the home screen.