Android Accessibility- Screen reader mode not reading the pdf content
What react-native version are you using?
0.63.2
What react-native-pdf version are you using?
6.2.0
What platform does your issue occur on? (android/ios/both)
android
Describe your issue as precisely as possible :
- Steps to reproduce the issue or to explain in which case you get the issue Load a pdf in the android and enable the accessibility by going to Setting->Accessibility->Screen Reader -> Voice Assistant - On The PDF is loading but the screen reader is not reading the content of the pdf file. In the iPhone it is reading the content
- Interesting
logsNo errors to show. Join a screenshot or video of the problem on the simulator or device?
Show us the code you are using?
import { StyleSheet, Dimensions, View } from "react-native";
import Pdf from "react-native-pdf";
const HomeScreen = () => {
const source = {
uri:
"http://samples.leanpub.com/thereactnativebook-sample.pdf",
cache: true,
};
return (
<View style={styles.container}>
<Pdf source={source} style={styles.pdf} />
</View>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
},
pdf: {
width: Dimensions.get("window").width,
height: Dimensions.get("window").height,
backgroundColor: "white",
justifyContent: "center",
alignItems: "center",
},
});
export default HomeScreen;```
any updates?
I have the same issue, it works on ios but not on android talkbalk "react-native": "0.63.3", "react-native-pdf": "^6.2.2",
i am also facing the same issue
We're also facing the same problem. Any news on that? Anyone able to make it work somehow?
I also face the same problem. Have you solved it yet
@donypjoseph Have you solved it yet?