Skip to content

[v3] – FirestackCloudMessaging.m: expected method body #188

Closed
@tansart

Description

@tansart

I get an error when I try to build an empty RN project using Firestack from the branch v3.

I get the following error:

/[...]/TestProject/node_modules/react-native-firestack/ios/Firestack/FirestackCloudMessaging.m:74:28: error: expected method body
- (void) requestPermissions(NSDictionary *)requestedPermissions

Current environment:
OS X 10.12.1
XCode 8.1 & 7.2.1
react-native-cli: 2.0.0
react-native: 0.39.1

Steps to reproduce:
react-native init TestProject
cd TestProject
The app compiles and runs properly at this stage.

npm i -S fullstackreact/react-native-firestack#v3
react-native link react-native-firestack
cd ios && pod update --verbose
cd .. && react-native run-ios

This is where I start getting the aforementioned error.
Same error when I try to run the project from TestProject.xcworkspace

Has anyone else encountered this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions