Skip to content
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

help please login #23

Open
sitolab opened this issue Jan 19, 2022 · 1 comment
Open

help please login #23

sitolab opened this issue Jan 19, 2022 · 1 comment

Comments

@sitolab
Copy link

sitolab commented Jan 19, 2022

The app is very simple in itself and has these features:

Creating a folder with a custom name in a specific path

Within the created folder, other folders must be inserted with images taken with the app inside, the name of these folders must always be passed by the app

This is the very simple app and nothing special it performs

What we ask:

That the above app communicates via the smb (samba) protocol with the server in the local network via wi-fi

Nothing more and nothing less I hope to have been as synthetic as possible

let's try to insert the access data inside this line

void _login () async {
await dsm.login ("http: // ip", "USER", "password");
}

but we get the illegal parameter error

@WellerZhao
Copy link

WellerZhao commented Mar 7, 2024

try to modify function "login(String host, String loginName, String password)" in 'libdsm_flutter/libdsm/lib/libdsm.dart'

change the key 'host' to 'hostname'

int result = await _methodChannel.invokeMethod('DSM_login', <String, dynamic>{ 'id': _dsmId, 'hostName': host, 'login_name': loginName, 'password': password, });

or try this repo: https://github.com/WellerZhao/libdsm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants