Bug report
Above are essentially N/A, this is a definitions bug that is reflected in the code editor.
Description
index.d.ts currently lists getAudioRoutes() as returning Promise<void>. The readme suggests it should be returning Promise<AudioRoute[]>, correlated by the Java module.
Using getAudioRoutes thus requires a cast of getAudioRoutes() as unknown as Promise<AudioRoute[]> or similar.
The problematic line is located here:
|
static getAudioRoutes(): Promise<void> |
This appears to have been broken in this change: 0cba24e#diff-7aa4473ede4abd9ec099e87fec67fd57afafaf39e05d493ab4533acc38547eb8
Steps to Reproduce
Use getAudioRoutes() in your code editor.
Versions
- Callkeep: 4.3.12
- React Native: N/A
- iOS: N/A
- Android: N/A
- Phone model: N/A
Logs
N/A
Bug report
I've checked the example to reproduce the issue.
Reproduced on:
Android
iOS
Above are essentially N/A, this is a definitions bug that is reflected in the code editor.
Description
index.d.tscurrently listsgetAudioRoutes()as returningPromise<void>. The readme suggests it should be returningPromise<AudioRoute[]>, correlated by the Java module.Using getAudioRoutes thus requires a cast of
getAudioRoutes() as unknown as Promise<AudioRoute[]>or similar.The problematic line is located here:
react-native-callkeep/index.d.ts
Line 225 in cc308ce
This appears to have been broken in this change: 0cba24e#diff-7aa4473ede4abd9ec099e87fec67fd57afafaf39e05d493ab4533acc38547eb8
Steps to Reproduce
Use
getAudioRoutes()in your code editor.Versions
Logs
N/A