We have a developed a full Angular4 web app and now we're deciding to move towards mobile application, but we have some doubts regarding NativeScript.
- What's the best strategy to have the same codebase (actual Angular project) with NativeScript integrated? The goal is not duplicate the components but switch between xml or html depending on the platform.
- We could observe that some modules have specific implementations in NativeScript, for example: Router module, is there a way of using the same router for the application? Or we switch between modules for web or mobile platforms.
- We are concerned about NativeScript community, we could see very few medium/large companies using apps developed in NativeScript in contrast to React Native which is used by Tesla, Airbnb, Instagram, ... Are there some real good showcases for NativeScript
- We are using Socket.IO we want to know whether NativeScript could be integrated with Socket and with push notifications.
- What would be the best directory layout for both codes coexistence?