Maui icon indicating copy to clipboard operation
Maui copied to clipboard

[BUG] TouchEffect does not work on iOS when app is built in Release

Open velocitysystems opened this issue 5 months ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

  • [X] I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug

Current Behavior

TouchEffect does not work on iOS when app is built in Release. This is a regression in 9.1.0 and possibly due to AOT improvements.

Expected Behavior

TouchEffect should work and fire events/execute commands when attached to a view.

Steps To Reproduce

  1. Create a new blank MAUI project
  2. Add a TouchEffect to any control
  3. Build the app in Release configuration

Link to public reproduction project repository

AotSample.zip

Environment

- .NET MAUI CommunityToolkit: 9.1.0
- OS: iOS 17.5
- .NET MAUI: 8.0.91 SR9.1 (latest)

Anything else?

Works in 9.0.3. Android works in both Debug and Release.

velocitysystems avatar Sep 27 '24 19:09 velocitysystems