-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PoC for Mobile App #241
base: v1.x/staging
Are you sure you want to change the base?
PoC for Mobile App #241
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SimpleWindowManager in virtual-desktop could have an overlay that exists above the login overlay, which is only shown when the browser user agent is a mobile one, or some other global tells you that it is mobile. That overlay can prompt the user to give the location of the app server. That information could be stored in the app's data for next use.
static dispatcher: Dispatcher = new Dispatcher(cordovaLogger); | ||
static logger: Logger = logger; | ||
static registry: ZLUX.Registry = new Registry(); | ||
static notificationManager: ZoweNotificationManager = new ZoweNotificationManager(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could do android/ios notifications, if it knew it was mobile.
export class CordovaResources { | ||
static pluginManager = PluginManager | ||
static uriBroker: ZLUX.UriBroker = new MvdUri(); | ||
static dispatcher: Dispatcher = new Dispatcher(cordovaLogger); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i wonder if dispatcher could use android "intents" to open another app on your phone which is also a zowe app.
|
||
export class CordovaResources { | ||
static pluginManager = PluginManager | ||
static uriBroker: ZLUX.UriBroker = new MvdUri(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uribroker includes access to the config service, but on mobile, maybe there will be a config service enhancement to allow the app to choose if data is stored locally or remotely.
fff49aa
to
15f5dc9
Compare
Signed-off-by: Leonty Chudinov <[email protected]>
Signed-off-by: Leonty Chudinov <[email protected]>
Signed-off-by: Leonty Chudinov <[email protected]>
15f5dc9
to
0e63945
Compare
Signed-off-by: Leonty Chudinov <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information The version of Java (1.8.0_242) you have used to run this analysis is deprecated and we will stop accepting it from October 2020. Please update to at least Java 11. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a test approve (remove later)
Depends on zowe/zlux-platform#60