DrupalGap icon indicating copy to clipboard operation
DrupalGap copied to clipboard

Drupalgap routing issues.

Open liquidcms opened this issue 5 years ago • 2 comments

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:

  • is DG meant to make professional apps or possibly just meant as a prototyping system (it would be awesome for this)?
  • is there any chance i am simply missing something?
  • can anyone post app code, an SDK or point to anything on an app store that can't be easily crashed by navigating through the app?
  • is it a ridiculous idea to think it might be possible to integrate (jDrupal) with something like Ionic?

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 avatar May 13 '19 15:05 liquidcms

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 avatar May 13 '19 15:05 liquidcms

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.

liquidcms avatar May 13 '19 15:05 liquidcms