Skip to content

Commit

Permalink
chore(datastore,analytics,auth,notifications,storage): updated/regene…
Browse files Browse the repository at this point in the history
…rated pigeon

-renamed setup to setUp in various locations
-added pigeonVar_binaryMessenger and pigeonVar_messageChannelSuffix to AmplifyNativeLegacyWrapper
-renamed PigeonLegacyDataProvider to PinpointLegacyDataProvider (API can’t start with Pigeon)
-updated signInWithUrl’s return value (this was updated 3 years ago)
  • Loading branch information
tyllark committed Dec 2, 2024
1 parent 371e0a4 commit ec6bbd1
Show file tree
Hide file tree
Showing 38 changed files with 2,829 additions and 1,920 deletions.

Large diffs are not rendered by default.

643 changes: 383 additions & 260 deletions packages/amplify_datastore/ios/Classes/pigeons/NativePluginBindings.swift

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/amplify_datastore/lib/amplify_datastore.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class AmplifyDataStore extends DataStorePluginInterface
if (authPlugin != null) {
// Configure this plugin to act as a native iOS/Android plugin.
final nativePlugin = _NativeAmplifyAuthCognito();
NativeAuthPlugin.setup(nativePlugin);
NativeAuthPlugin.setUp(nativePlugin);
final nativeBridge = NativeAuthBridge();
try {
await nativeBridge.addAuthPlugin();
Expand Down Expand Up @@ -109,7 +109,7 @@ class AmplifyDataStore extends DataStorePluginInterface
endpoints[e.key] = e.value.defaultAuthorizationType.name;
});
final nativePlugin = NativeAmplifyApi(authProviders);
NativeApiPlugin.setup(nativePlugin);
NativeApiPlugin.setUp(nativePlugin);

final nativeBridge = NativeApiBridge();
try {
Expand Down
Loading

0 comments on commit ec6bbd1

Please sign in to comment.