- Use
Uri.encodeQueryComponent
to add the text instead ofUri.encodeComponent
. - Add support for converting
WhatsAppUnilink
toUri
. - Misc: Change
pedantic
tolints
, improve tests, documentation, and add Dart-only example code.
Fix static analysis info
lib/whatsapp_unilink.dart:50:6 INFO: This function has a nullable return type of 'T?', but ends without returning a value.
- Small README change
- Update code internally (code's behavior should not change)
- Get rid of unnecessary src folder (the whole project is approx 50LoC)
- Release with GitHub Actions and tag commits automatically
- Add more thorough test cases
- Breaking: Migrate package to Dart's null safety language feature, requiring Dart 2.12 or higher.
Initial version.
- Support phone number and text for WhatsApp unilinks. Both number and text are optional.