Not sure about React Native, but I will answer Ionic.
In one word - no, you cannot.
Ionic is HTML, CSS, JS framework, but it is mainly used with Cordova, which embeds webview in your application and displays HTML, CSS, JS in it. (Answered by Quora )
Here you can find a more detailed explanation of a similar question.
Yuval Bar Levy
source share