Suitable plugin that can choose/select file that work both on ios and android

I want to build an application that the user can choose or select (for now only pdf type), than the file will be converted to base64 string before it posted to API. Before this, I use <input type=“file” accept=application/pdf"> but its only work on android not on ios (I run it on xcode emulator), and after some searching, I found out that file chooser on android is differ from ios (ios use file picker). So, are there any alternative plugin I can use that work for both on android and ios? if not, how can I used file chooser and file picker in one ts?