Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,12 @@ TwilioVoice.getCallInvite()

// Unregister device with Twilio (iOS only)
TwilioVoice.unregister()

// Sets Twilio Voice edge location.
// See [Edge Reference](https://www.twilio.com/docs/voice/client/edges) for more information.
// See [Public Edge Locations](https://www.twilio.com/docs/global-infrastructure/edge-locations#public-edge-locations) for public edge locations.
// And [Private Interconnect Locations](https://www.twilio.com/docs/global-infrastructure/edge-locations#private-interconnect) for private connections.
TwilioVoice.setEdge(location)
```

## Help wanted
Expand Down
3 changes: 2 additions & 1 deletion ios/RNTwilioVoice/RNTwilioVoice.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
#import <React/RCTEventEmitter.h>

@interface RNTwilioVoice : RCTEventEmitter <RCTBridgeModule>

- (void)initPushRegistry;
- (void)configureCallKit: (NSDictionary *)params;
@end
2 changes: 2 additions & 0 deletions ios/RNTwilioVoice/RNTwilioVoice.m
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ - (void)pushRegistry:(PKPushRegistry *)registry didUpdatePushCredentials:(PKPush
[self sendEventWithName:@"deviceReady" body:nil];
}
}];
} else {
[self sendEventWithName:@"deviceReady" body:nil];
}
}
}
Expand Down