When updating B4X to version 12.50 I get an error in the log (FileProvider is declared twice. You must remove the reference to the library or the code module.). I have tried with a new project and simply by selecting the 2 libraries I get this message.
1. This library mistakenly includes a copy of FileProvider.
2. It is not needed. You should use RuntimePermissions instead.
3. Removing FileProvider library will also work.
1. This library mistakenly includes a copy of FileProvider.
2. It is not needed. You should use RuntimePermissions instead.
3. Removing FileProvider library will also work.
1. This library mistakenly includes a copy of FileProvider.
2. It is not needed. You should use RuntimePermissions instead.
3. Removing FileProvider library will also work.
Only uncheck FileProvider librarry and leave PermissionsManager. PermissionsManager contains FileProvider class which save 0.5MB on the app size. So if you use PermissionsManager then do not use FileProvider library.
To be clear, if you use native B4X file provider you will get 500KB bigger apk size.
Only uncheck FileProvider librarry and leave PermissionsManager. PermissionsManager contains FileProvider class which save 0.5MB on the app size. So if you use PermissionsManager then do not use FileProvider library.
To be clear, if you use native B4X file provider you will get 500KB bigger apk size.
Permissionmanagaer is not a internal library and should NOT be placed in the internal library folder.
Instead you shout put all Additional libraries in the additional library folder.
Permissionmanagaer is not a internal library and should NOT be placed in the internal library folder.
Instead you shout put all Additional libraries in the additional library folder.
This is a complete waste of time.
As I wrote FileProvider is 20 lines of code.
The 500kb increase in size comes from androidx.core:core that is a dependency of RuntimePermissions (which FileProvider depends on). Any real app will include these dependencies anyway.
This is a complete waste of time.
As I wrote FileProvider is 20 lines of code.
The 500kb increase in size comes from androidx.core:core that is a dependency of RuntimePermissions (which FileProvider depends on). Any real app will include these dependencies anyway.
Yes, file provider class is wrapped from package and save 500KB. There is large number of apps which did not require androidx.core package. I have several of this apps. So if any app did not reqiure whole package it is a waste of space to use 20 lines of code and add whole package of 500KB for the file provider only. That is my logic.