Getting build errors with Flutter Notification Plugin

When I am using Flutter Local Notification Plugin (4.0.1), I am getting build errors on both Android and iOS. This is occurring with few other plugins as well - Apple Sign in for iOS and Google Maps APis. However, the builds are successful when these plugins are disabled. Would appreciate any help or direction on how to go about resolving these issues.

Here’s the error log:

  • What went wrong:
    Execution failed for task ‘:app:checkDebugAarMetadata’.

Could not resolve all files for configuration ‘:app:debugRuntimeClasspath’.
Could not resolve
Required by:
project :app > project :flutter_local_notifications
Could not resolve
Could not get resource ‘’.
Could not GET ‘’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2). You may need to configure the client to allow other protocols to be used. See: PKIX path building failed: unable to find valid certification path to requested target