Hi there,
my team and I wrote an app that runs in desktop browsers, mobile browsers and via cordova as native/hybrid apps.
Now we want to e.g. exclude urigo:ionic on all desktop browser but would like to leave it in for mobile browsers/cordova apps. For the mobile detection we’re using the simple mquandalle:ismobile package which is great, but now we also need to exclude whole packages, like e.g. urigo:ionic.
- If we exclude the ionic package by architecture web.cordova, it is also excluded on mobile browsers
- If we conditionally include ionic (via package + conditional head.html) ionic is loaded last and overrides all customization
What we need is the non existing “arch” called “web.mobile”. Does anyone have an idea how to solve this problem? Or is there a pattern we’re not aware of?
Cheers,
Max