Skip to content

Package Size is concerning. #46

Answered by tompsota
asharamseervi asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @asharamseervi,

Thanks for opening the issue.

freeRASP for React Native is a wrapper around native iOS and Android implementations. Therefore, the content of android and ios folders is necessary for the plugin to work.

example folder is not required in npmjs installation and could be removed, we'll think about adding this to our backlog.

However, removing these folders won't have any effect on the final size of your APK/AAB. Shortly, this is because when you are building your Android app, just the common .js/.ts files and native Android files (in android folder) are compiled. The rest is thrown away.

So if you are using just the Android implementation, you can delete the ios folder fro…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by asharamseervi
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
2 participants
Converted from issue

This discussion was converted from issue #45 on February 22, 2024 11:55.