Worklight Simple Dialog Android prevent click outside - ibm-mobilefirst

I am using WL.SimpleDialog.show() for showing messages. In my latest android version , if i am clicking outside the element, the Dialog box disappears. Could you please help how to fix this issue. If i am clicking outside , the dialog box should not disappear.
The worklight version is 6.1.

6.1 is quite an old release by now. This may have been "fixed" AFAIK in later releases of MobileFirst. However have you good reasons to upgrade other than just the dialog - support for the upcoming iOS 10 and Android 7 is only from MobileFirst 6.3 and above.
Other than that there is no support for making the dialogs modal in previous releases, or customizing it with your own dialog.
In Android, dialogs are non-modal (you can discard them by tapping around the dialog).

Related

Weird Shortcuts problem on iOS 15 and WatchOS 8

I have an app which allow users to create shortcuts for it. It worked well on my iPhone and my Apple Watch until I upgrading my devices to iOS 15 and WatchOS 8.0
It keep asking me "Allow *** to share data with (null)" every time even after I said "allow"
I googled but only found one post who had the similar problem
https://forums.macrumors.com/threads/shortcuts-to-web-open-in-chrome-bug.2312693/
did my own tests and created a new Twitter “What is happening” shortcut on my iPhone, it always ask me “All See what’s happening” to share data with (null)” just like what happened to our watch app on an Apple watch (WatchOS 8 )
I used the same Twitter shortcut too on my Apple Watch and first time it asked the same question then it shows “Can’t send data to (null)” for the second time.
I guess it is a new system bug but I am not sure.
Does anybody have a clue about how to solve it? Thank you!
I know how to fix this! If you go to your shortcuts and change the browser in the action to safari it will stop displaying the prompt. The browser that opens will still be chrome as long as you have it set as your default browser.
This is an iOS bug which seems to be fixed in the latest iOS 15.1 beta 3 release.
You can either install the beta — if you have access to it — or wait for the final release of iOS 15.1.
In settings > Privacy > HomeKit I disabled the toggles for the apps eWeLink, Mi Home, Smart Life and Tuya Smart (The shortcuts of the apps which showed this popup in my apple watch)
After that this popup appeared only once and after clicked allow, This annoying pop up stopped appearing for my shortcuts in apple watch.
Update:
You can enable the toggles in settings > Privacy > HomeKit after allowing the first allow prompt for shortcuts in Apple watch. After enabling HomeKit toggles again Apple watch shows this "Allow to share data with (null)" only once for shortcuts.

How can I restore missing "generate sample content" functionality for new Flutter projects in IntelliJ IDEA CE?

The ability of the "generate sample content" popup menu for a new Flutter project in IntelliJ IDEA seems to have disappeared on my installation. (It used to work until recently) (IntelliJ IDEA CE 2019.1.1 Build #IC-191.6707.61, Apr 16, 2019, on macOS 10.14.4)
When I click the checkbox to enable the popup menu, the menu is not populated - its just blank. I've re-installed IntelliJ IDEA, as well as run flutter doctor in the terminal (no errors from flutter doctor), but the popup menu remains empty.
Does anybody know how to get this menu to be re-populated?
I just had the same problem and I noticed that my Android SDK was not configured correctly in IntelliJ. After specifying the path to my SDK in IntelliJ's settings I can now use the "generate sample content" functionality.
Go to IntelliJ > Preferences > Appearance & Behaviour > System Settings > Android SDK and specify the Android SDK location. Presumed you've installed the Android SDK already, you'll find it on Mac OS by default at /Users/<user-name>/Library/Android/sdk and on Windows at C:\Users\<user-name>\AppData\Local\Android\sdk.
Make sure to update your IntelliJ version, Dart & Flutter plugin, Android SDK and run flutter doctor to check if everything is set up correctly.
Also checkout this issue, which describes the same problem.

Recent apps icon in React-native

I changed the default app icon and it appears fine in the app drawer, but on Android 8.0's recent apps the icon is still the default one.
Also when I try to uninstall the app, the Alert windows that opens contains the dafault react-native icon.
I tried looking on other posts and found this comment, but I already set those and even created a mipmap-ldpi (36x36) icon, but it still remains the same.
How can I change these icons?
I'm using React-native 0.59.1
For Android 8.0 and Above Adaptive Launcher Icon are used and for Versions below Android 8.0 we use Legacy Launcher Icon
You can try try to update icons using Image Asset Studio -
To start Image Asset Studio, select Android in the Project Window. Right click on the res folder and select New > Image Asset. You have now opened Image Asset Studio. You can now create an Adaptive Launcher Icon or Legacy Only Launcher Icon as per your requirement by selecting Icon Type.
You can refer to this link for more information.
Hope it works !

What does it mean when Apple's TestFlight app presents an "Update" button?

What does it mean when Apple's TestFlight app presents an "Update" button, as opposed to an "Install" button?
I've noticed the update button does not download a new version. It doesn't seem to do anything, which confuses my beta testers. What is it updating exactly? And what circumstances determine if TestFlight shows an UPDATE button or just the usual OPEN button?
If you have uploaded a beta version and it's not installed in your device, then the testflight will show a Install button.
If you have the latest version from testflight it'll show Open button instead of Install.
If you have an older version in your device and a newer version is available in the testflight, it'll show an Update button instead of Install and Open.

Windows 8 metro's virtual keyboard

I'm trying to trick windows 8 into thinking there is a touch screen connected.
I've been searching the web for a way to bring up the keyboard that should be displayed once you click on a text box (while with a touch screen), but I've come up empty...
Can anyone tell if there is a way to get the virtual (not OSK!) keyboard in metro to come up even without a touch screen?
Perhaps a setting or some work-around.
Thanks
One way to do this is to run your application inside of the Visual Studio simulator. To do this click on the drop-down in the debug menu and change the selection from Local Machine to Simulator:
Then when you debug, VS will bring up a device simulator. You can then click on the hand in the upper right to enable using the mouse in touch mode:
Finally, click on a control that requires the keyboard, and you should see the onscreen keyboard come up.
More info on Testing Windows 8 apps using Visual Studio 2012 at MSDN.