I have a Package made a while ago but I want to add some Android specific code (Java, but this doesn't matter). The only approach I currently have is just creating a new Plugin and moving things around from the old package to the new plugin.
Is there another way I'm missing?
Maybe a command line prompt or another tool?
Note for the differences between Package and Plugin from flutter.dev
Related
I am writing a flutter plugin and need to import a module, but after importing it, the folder is in example/android and cannot be used after other projects depend on it.
What should I do to properly depend on the module?
like this question: but it's been 3 years since this issue
I have a Xamarin Forms Project, and I do use ShinyLib.net Package https://github.com/shinyorg/shiny.
I do have some bugs with Shiny, which I would like to track down and Fix.
How can I make my project use the Source Code from Git instead of the Nuget Packages so I can Debug and Make changes and try to fix some bugs? Shiny already is using .Net MUAI, but it is still compatible with Xamarin.
I tried to Download the Shiny Source Code, and in my Project, I use Add Existing Project, but it shows me that is Incompatible, and it fails when compiling :
Shiny.BluetoothLE is not compatible with netstandard2.1.
Can someone please explain the correct way for me to compile using source code instead of Nuget Package?
I'm trying to create a Dart backend framework that developers can download as a dependancy and have the basic folder structure, Dart files and such generated for them in their own project. From what I understand, downloading a dependancy package only places files inside the package directory/ies (although, I may be wrong).
To get around this, I believe Dart can be used like a Bash script, and can place files in the project directory automatically through running the package's bin files in the terminal (illustrated in the Running a script in a dependency https://www.dartlang.org/tools/pub/cmd/pub-run.html).
Would this be the best way to achieve the desired result? Or is there an easier way to download a framework as a project template? (I'd also like to place similar scripts for generating controllers and such in the tools directory, and don't know if keeping this framework as a dependancy would be necessary after 'install').
Thank you for reading.
You can use pub global activate some_package to be able to use pub global run some_package:some_script or just some_script to allow to run a script contained in a Dart package without adding it to the dependencies.
I think this is the best way to distribute it.
I am developing an video calling application using javafx. And I need to integrate jitsi video GUI into javafx Swing node.
Is it possible or Do I have to use 'libjitsi' and implement GUI in javafx ?
Any suggestions would be appreciated.
If you're asking about how to embed Swing content into JavaFX, you can use a SwingNode.
It worked for me (I added a Swing PDF player in a JavaFX application)
Here is an example of how to perform this : http://docs.oracle.com/javafx/8/embed_swing/jfxpub-embed_swing.htm
This might be very late but still, I am posting the answer as seems to be a genuine question.
To use JavaFX with jitsi, developing with eclipse steps are as follows.
First, you require to install an addon of JavaFX in eclipse e. g. EFX
After adding above addon add JavaFX SDK to the project. The link: https://www.tutorialkart.com/javafx/install-javafx-in-eclipse-ide/
Then add the package entries to the manifest.mf files {in the package where you are executing} and felix.run.properties file.
And the project will run smoothly. Another thing if using a class with the superclass of Application then keep it in the different jar file add the entries of the jar to the build.xml(in copy jar section) and add the package entries to the manifest.mf files {in the package where you are executing} and felix.run.properties file.
I'm developing a plugin for SublimeText that uses the FullScreenStatus plugin. Is there a way to set it up so that if someone installs my plugin, the FullScreenStatus plugin will be automatically installed as well, like a requires directive? Every other package manager I know of can do this, but I couldn't find anything in the docs and no other package I looked at is trying to require another package.
Since FullScreenStatus is MIT licensed, I could just include it in mine, but is there a way to require it without doing that?
You either have to bundle it yourself, or explain in the install message and README there is an external dependency. If you feel like adding to the discussion on dependency management, feel free to contribute to https://github.com/wbond/sublime_package_control/issues/166. Some initial work can be seen at https://github.com/wbond/sublime_package_control/issues/291#issuecomment-14028788.