You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am a newbie in flutter.
I need to add windows desktop support to existing flutter_bluetooth_serial plugin, so our application can run on PC and windows based tablet.
I have several questions.
As far as I understood , the flutter_blueooth_serial was written as app and not as standard plugin.
Was it done on purpose and if yes ,why?
Should I create the windows part of the plugin also as app? And if yes, how can I add the plugin code to it?
If I understand correctly for android the plugin JAVA code was added to separate directory
And was defined as package
Maybe I'm missing something else.
Can the plugin code contain threads (for device discovery for example)?
If I understand correctly, I can write the plugin in one of the following ways:
a) in C++
b) as DLL in C# and afterwards load the dll and call to the dll APIs from standard plugin code.
Am I right?
Which way do you think is preferrable?
Please help.
Thanks a lot in advance
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I am a newbie in flutter.
I need to add windows desktop support to existing flutter_bluetooth_serial plugin, so our application can run on PC and windows based tablet.
I have several questions.
Was it done on purpose and if yes ,why?
If I understand correctly for android the plugin JAVA code was added to separate directory
And was defined as package
Maybe I'm missing something else.
a) in C++
b) as DLL in C# and afterwards load the dll and call to the dll APIs from standard plugin code.
Am I right?
Which way do you think is preferrable?
Please help.
Thanks a lot in advance
Beta Was this translation helpful? Give feedback.
All reactions