flutter-tizen / engine

The Flutter engine
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
6 stars 19 forks source link

Fix runtime error on Tizen 4.0 #279

Closed swift-kim closed 2 years ago

swift-kim commented 2 years ago

Depend on libtzsh_softkey.so only when building for the common profile. The library and the Tizen Shell Softkey API are not available on Tizen 4.0 devices.

Fixes an app launch failure on Tizen 4.0 wearable caused by https://github.com/flutter-tizen/engine/pull/251.

This issue has not been detected by the API checker until now probably because the TizenShell class is unused when building for other profiles than common and thus its compilation result is effectively optimized out. We need to use more #ifdefs in platform_channel.cc to make our intention clear.

WonyoungChoi commented 2 years ago

If so, is it possible to run the app in 4.0 common profile?

swift-kim commented 2 years ago

@WonyoungChoi We don't support Tizen 4.0 + common profile. Tizen 4.0 support is only for the wearable profile.

https://github.com/flutter-tizen/flutter-tizen#supported-devices