flutter_plugin_device_apps icon indicating copy to clipboard operation
flutter_plugin_device_apps copied to clipboard

[Feature Request] iOS support

Open RenanDelfanti opened this issue 4 years ago • 10 comments

Any news about this feature?

RenanDelfanti avatar Dec 06 '19 19:12 RenanDelfanti

Right now, it is strictly impossible, since Apple doesn't provide any API for this.

g123k avatar Dec 07 '19 19:12 g123k

@g123k So I can't open another app inside my flutter app?

RenanDelfanti avatar Dec 10 '19 11:12 RenanDelfanti

Yes you can, but the idea of this plugin is to be able to list all installed apps. Not necessarily to launch them.

g123k avatar Dec 10 '19 17:12 g123k

Right now, it is strictly impossible, since Apple doesn't provide any API for this.

How about this method?

emvaized avatar May 24 '20 13:05 emvaized

https://pub.dev/packages/flutter_appavailability/install

not work...

yourshinsuke avatar Sep 11 '20 06:09 yourshinsuke

it is better.

http://sanya.hzhbcjq.com/packages/installed_apps/example => (Currently only Android is supported.)

sorry!!!

yourshinsuke avatar Sep 11 '20 07:09 yourshinsuke

Thanks for this library! Running on Android works like a charm. I tried to cross compile my app to iOS for testing - and while see the main issue I thought, hey I return a mocked list. But the Application constructors are private only - any reason why?

Let me know if you accept PR's for this case.

neophob avatar Mar 02 '21 16:03 neophob

The problem will this kind of library on iOS: the validation from Apple.

You can of course use all the APIs you want (even the hidden ones from Apple), but they won't be accepted on the App Store. That's the reason why this plugin doesn't implement such a feature.

g123k avatar Mar 02 '21 19:03 g123k

Yeah, I see that point - my goal was to provide some help to simplify testing, thus provide a mocked app list. But for this I would need to create a new Application object - but there is no public constructor available.

Another use case: I want to run a dev version using the web target - where I want to mock the "installed" applications

neophob avatar Mar 02 '21 20:03 neophob

Any updates on this feature? @g123k

muhd-ameen avatar May 25 '23 06:05 muhd-ameen