question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't build app after updating to 3.0.2 - Use of undeclared identifier

See original GitHub issue

Just updated to 3.0.2, updated AppDelegate.m according the the updated readme

but I got these errors after adding this function.

No known class method for selector ‘didReceiveIncomingPushWithPayload:forType:’ Use of undeclared identifier ‘callerName’ Use of undeclared identifier ‘handle’ Use of undeclared identifier ‘uuid’

- (void)pushRegistry:(PKPushRegistry *)registry didReceiveIncomingPushWithPayload:(PKPushPayload *)payload forType:(PKPushType)type withCompletionHandler:(void (^)(void))completion {
  // Process the received push
  [RNVoipPushNotificationManager didReceiveIncomingPushWithPayload:payload forType:(NSString *)type];
  
  // Retrieve information like handle and callerName here
  
  [RNCallKeep reportNewIncomingCall:uuid handle:handle handleType:@"generic" hasVideo:false localizedCallerName:callerName fromPushKit: YES];

  completion();
}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
djalmajrcommented, Mar 31, 2020

I’m also getting this error with the versions 3.0.11 and 3.0.12. With version 3.0.10 the error goes away.

image

0reactions
danjenkinscommented, Nov 11, 2019

Closing

Read more comments on GitHub >

github_iconTop Results From Across the Web

[cloud_firestore] iOS Compilation Error "Semantic Issue ...
Bug report I am updating the Firebase Libraries as shown in the image: ... Error "Semantic Issue (Xcode): Use of undeclared identifier.
Read more >
Xcode "Use of undeclared identifier" errors, compiles/runs just ...
Now I tried to build and run my app. THE ERRORS CAME BACK! So this time I re-created the class files after cutting...
Read more >
Compiler Error C2065 - Microsoft Learn
The compiler can't find the declaration for an identifier. There are many possible causes for this error. The most common causes of C2065 ......
Read more >
Installing Nokogiri
Installing Nokogiri¶. Welcome! We've worked hard to make Nokogiri easy and reliable to install. This page should hopefully get you on your way...
Read more >
Bug listing with status RESOLVED with resolution OBSOLETE ...
... Bug:54727 - "gentoo-stats --update fails with error message" ... crashes when user can't see init (pid 1)" status:RESOLVED resolution:OBSOLETE severity: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found