Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing closing brace for fetchCompletionHandler in PushNotificationIOS Docs at https://facebook.github.io/react-native/docs/pushnotificationios.html #11150

Closed
Brisdo opened this issue Nov 26, 2016 · 1 comment
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@Brisdo
Copy link

Brisdo commented Nov 26, 2016

Description

The PushNotificationIOS Docs is missing closing brace for fetchCompletionHandler.

Reproduction

Try to compile using the current Docs:

fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {
   {
      [RCTPushNotificationManager didReceiveRemoteNotification:userInfo fetchCompletionHandler:completionHandler];
   }
   // Optionally implement this method over the previous to receive remote notifications. However

Solution

Change Docs to read:

fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {
   {
      [RCTPushNotificationManager didReceiveRemoteNotification:userInfo fetchCompletionHandler:completionHandler];
   }
}
   // Optionally implement this method over the previous to receive remote notifications. However
@mkonicek
Copy link
Contributor

Thanks for finding this! Can you send a pull request to add the brace please? :)

damusnet added a commit to damusnet/react-native that referenced this issue Dec 1, 2016
robclouth pushed a commit to robclouth/react-native that referenced this issue Dec 7, 2016
Summary:
This is a minor documentation fix

fixes facebook#11150
Closes facebook#11253

Differential Revision: D4268276

fbshipit-source-id: 67c8f9b4c77a2c781c09376bf4fc15a61b3db490
mkonicek pushed a commit that referenced this issue Dec 12, 2016
Summary:
This is a minor documentation fix

fixes #11150
Closes #11253

Differential Revision: D4268276

fbshipit-source-id: 67c8f9b4c77a2c781c09376bf4fc15a61b3db490
tristanbbq pushed a commit to tristanbbq/react-native that referenced this issue Dec 15, 2016
Summary:
This is a minor documentation fix

fixes facebook#11150
Closes facebook#11253

Differential Revision: D4268276

fbshipit-source-id: 67c8f9b4c77a2c781c09376bf4fc15a61b3db490
janicduplessis pushed a commit that referenced this issue Dec 15, 2016
Summary:
This is a minor documentation fix

fixes #11150
Closes #11253

Differential Revision: D4268276

fbshipit-source-id: 67c8f9b4c77a2c781c09376bf4fc15a61b3db490
DanielMSchmidt pushed a commit to DanielMSchmidt/react-native that referenced this issue Jan 4, 2017
Summary:
This is a minor documentation fix

fixes facebook#11150
Closes facebook#11253

Differential Revision: D4268276

fbshipit-source-id: 67c8f9b4c77a2c781c09376bf4fc15a61b3db490
@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants