Skip to content

Commit

Permalink
Fix: rename registerApp => register
Browse files Browse the repository at this point in the history
  • Loading branch information
p1gp1g committed Feb 7, 2025
1 parent 6762a6e commit f296e31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unifiedpush/lib/unifiedpush.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class UnifiedPush {
static Future<void> register(
[String instance = defaultInstance,
List<String>? features = const []]) async {
await UnifiedPushPlatform.instance.registerApp(instance, features ?? []);
await UnifiedPushPlatform.instance.register(instance, features ?? []);
}

@Deprecated("Renamed [register]")
Expand Down

0 comments on commit f296e31

Please sign in to comment.