NavidShokoufeh / sstp_flutter

BSD 3-Clause "New" or "Revised" License
8 stars 6 forks source link

App crash on using getAllowedApps() this funcation #8

Open aakashch0179 opened 7 months ago

aakashch0179 commented 7 months ago

Hello

I try to get all installed apps list so app is crash when I call this function

 List<String> allowedApps = await sstpFlutter.getAllowedApps();
  print('Allowed Apps: $allowedApps');

Help me

NavidShokoufeh commented 7 months ago

Hello , please provide more info about the exception.

also you are trying to retrieve the allowed apps to use your vpn, not all installed apps.

for get installed apps do this :

// Get installed apps List installedApps = await sstpFlutter.getInstalledApps(); print('Installed Apps: $installedApps');

aakashch0179 commented 7 months ago

Hello , please provide more info about the exception.

also you are trying to retrieve the allowed apps to use your vpn, not all installed apps.

for get installed apps do this :

// Get installed apps List installedApps = await sstpFlutter.getInstalledApps(); print('Installed Apps: $installedApps');

Same Problem when i call await sstpFlutter.getInstalledApps();

aakashch0179 commented 7 months ago

Hello , please provide more info about the exception.

also you are trying to retrieve the allowed apps to use your vpn, not all installed apps.

for get installed apps do this :

// Get installed apps List installedApps = await sstpFlutter.getInstalledApps(); print('Installed Apps: $installedApps');

Any update sir

NavidShokoufeh commented 6 months ago

Hello Dear, Thank you for your report , it's fixed now just update to last version.