how to use custom layout with ionic3 barcode-scanner plugin - ionic-framework

I am using ionic3, I need to create a screen to scan QRCode/Barcode with this layout: show model example, Is there a possibility of HTML injection in this plugin?
Documentation:
https://ionicframework.com/docs/native/barcode-scanner
https://github.com/phonegap/phonegap-plugin-barcodescanner
Useful links:
https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview
Get picture in Custom View Camera Preview Ionic 3

It's difficult to build a custom layout using barcode-scanner but,
You can make a custom layout for QRcode scanner using the following plugin:
https://ionicframework.com/docs/native/qr-scanner

Related

Can I build a Frontend in FlutterFlow then export to Flutter to finish coding?

I am learning flutter and dart at the moment. I came across FlutterFlow and I was wondering, could I use FlutterFlow to build the UI of the app, then turn around, take the code, and add it to my IDE and finish coding it with Flutter and dart there?
As I found, you can view the code of the UI and copy it from Developer Menu -> View Code as shown in the following image:
You will see the code with a copy button in the top right corner as shown in the following image:
Bounce:
When you click on a widget in the screen, it shows only the code of it to let you focus on its implementation.
Edit:
In the same developer menu, there is a Download Code button which allows you to download the source code of the application but it's not available in the Free Plan, Standard and Pro only.
Lastly: As a piece of personal advice, if you are learning Flutter, then stay away from tools like FlutterFlow until you reach a good level in Flutter Development, so these tools become just an acceleration for your work, not too highly dependent on them.
Yes, it's possible. You must either be using the "standard" plan to be able to export the source code of the app or, if you just need a tool to create the UI for a flutter app, you can then use the playground area of flutterflow to have access to the source code of that view.

Adding TinyMCE plugin with toolbar icon using a module package in Episerver CMS 12

I have a custom TinyMCE plugin that add a toolbar icon to the tinymce tool bar. Plugin is configured in a file called editor_plugin.js which is placed inside my custom EpiServer module. I need this to register in tinyMCE.
I added following code in the startup.cs file:
services.Configure<TinyMceConfiguration>(config =>
{
config.Default()
.AddEpiserverSupport()
.AddExternalPlugin("qbankmodule", "/QbankModule/TinyPlugin/editor_plugin.js")
.AppendToolbar("qbankmodule");
});
but I am getting following error in TinyMCE toolbar area:
Failed to load plugin url: http://localhost:8000/EPiServer/EPiServer.Cms.TinyMce/3.1.0/ClientResources/tinymce/QbankModule/TinyPlugin/editor_plugin.js
I Have following questions:
How can I point this to the editor_plugin.js file in the QbankModule I have it as QbankModule/TinyMCE/editor_plugin.js but now it is loading from EPiServer.Cms.TinyMce module.
Instead of registering this in the startup.cs since our product it this QbankModule, we need this to be registered using Customized TinyMce Initialization module using IConfigurableModule. Any one have experience in this area how to implement that?

flutter, after push a native viewController from flutter, is this possible display more content above native viewController with flutter again?

I have a native viewController which implement from a framework, I can't directly change it into flutter view.
So I think I can:
Display the UI in native ViewController(a 3rd party native video player) from flutter main app.
Then I need display some extra content(for example user avatar, some text message and so on) above/on native ViewController
But I would prefer implement this extra content with flutter, if it's possible?
Is this good approach ? If not, then I think have to do the things bellow:
Display the UI in native ViewController(a video player) from flutter main app.
Then display some extra content with native code.
PS: why I can't change the native VideController into flutter ? it's because it integration with a native video player which integration cache logic and I can't change the source code in that.
According to [1] it is fine to have some component native, because there just are not all features in new cross platform frameworks like flutter.
According to [2] you could use Decorators from Container to show content in layers, taken that you can show the native content embedded to the Flutter code. In that case, definitely use approach 1.
However, I could only find platform-channels type of solution from Flutter documentation [4] to do native code execution and there it states for example this:
To comply with channels’ UI thread requirement, you may need to jump from a background thread to Android’s UI thread to execute a channel method.
and in other post [3] on platform-channels:
When the user clicks back I want to navigate back to flutter [..]
Both imply everything that is native happens in native thread and view, so I don't see possibility other than your second approach, where all is native.
So, all depends how you fit the native element to Flutter. If you embed, use Flutter for overlays, otherwise do all native. I think good way to measure this is that if you see anything from Flutter generated code when inside the native viewer, you have chances to overlay, otherwise just go native.
[1] Open native UIViewController in Flutter
[2] https://cogitas.net/overlay-text-icon-image-flutter/
[3] How to change the root view controller back to flutter from native iOS?
[4] https://flutter.dev/docs/development/platform-integration/platform-channels

How to make a Material UI layout

For vuetify, I use <v-content> for making may layout when I'm using Vue. Since I got used to this, I was finding this kind of component on Material UI.
Is there a way to convert this layout from Vuetify to Material UI?
<v-app>
<v-toolbar app>...</v-toolbar>
<v-navigation-drawer app>...</v-navigation-drawer permanent>
<v-content><nuxt/></v-content>
</app>
I was using nuxt on Vuetify. Now I'm using next for my react project.
I'm kind of finding the <v-app> and <v-content> like component for Material UI but I can't seem to find it. Or do I make that layout myself?
well, while Vue is more of a framework in the classic acceptance of the notion, react is more of a library, providing components that you can assemble in any way you may find appropriate
so you'll have to build that layout yourself
have a look at this example:
https://codesandbox.io/s/j1n94qvmvw

Mock up taging and description cms system

I'm looking for a cms system to:
- upload an image like mockup and add and positioning tags(marker) on the image
- write description for each marker (multilingual)
- in front end, when we click on each tag, it shows the description of the tag!
Basically I want to use this system to manage the content of the image mockup or the design.
Tnx in advance
You can use UI prototyping tools like invision or concept.ly for that .
I am not sure which of them are multilingual but both of them provide taging and navigation on images .