Describe the bug
If i set subscriptions, i get this error:

"aws-amplify": "^1.2.3",
"aws-amplify-react": "^2.5.2",
"aws-amplify-react-native": "^2.1.12",
export const subscription = async (ressource, doThan) => {
try {
API.graphql(graphqlOperation(subscriptions[ressource])).subscribe({
next: data => doThan(data)
});
} catch (e) {
alert(e);
return { error: e };
}
};
EventStore.subscriptionToEvent("onCreateEvent", data =>
this.doThanEvent(data)
);
@davidbiller this has been fixed in the new stable release, please try and let us know if that works.
@davidbiller this has been fixed in the new stable release, please try and let us know if that works.
Good Work :)
Most helpful comment
@davidbiller this has been fixed in the new stable release, please try and let us know if that works.