react-native-background-actions icon indicating copy to clipboard operation
react-native-background-actions copied to clipboard

It is not executing all the line which is mention in BackgroundService.start.

Open Pranavpatel428 opened this issue 3 years ago • 0 comments

Hi Guys, I am a trying to execute code in a screen after I run navigation.goBack(), it was working completely fine for a couple of releases but now it suddenly stopped executing the code after the navigation.goBack(). It is supposed to work something like this:

let personalPostTask = async () => { navigation.goBack();

await createPost({
  variables: {
    postContent: {
      media: mediaFileArray,
      body: postText,
      privacy: postStatus,
    },
    tags: {
      userTags: TempList,
    },
  },
});
//From this line it is not executing.
dispatchUserState({
  type: UserAction.Update,
});
Toast.showWithGravity(
  "Personal Post Uploaded Successfully !",
  Toast.SHORT,
  Toast.BOTTOM
);

};

Pranavpatel428 avatar Jul 14 '22 21:07 Pranavpatel428