Comments (14)
In the AndroidManifest.xml
you extracted, it actually does say the following on line 13:
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
So it is the thing F-Droid detected, we need to find out where it comes from (especially if it's still there in the next F-Droid version)
from librecamera.
Good news everyone ๐
The next version won't require the permission for Network Access ๐ฅณ๐
For the ones interested, here is how I fixed it:
The cause for the Network Access permission request was the packagevideo_player
(to my surprise), which I used for displaying the video preview/thumbnail. I discovered this by creating a new blank project and adding all the packages from Libre Camera. I then removed the packages in different combinations, built the apk and inspected it's AndroidManifest for the permission. And after a couple of tries, the video_player
package was left.
Now, the app will be using the video_thumbnail
package instead โ no need for any permissions ๐
from librecamera.
Great to hear, good job! ๐
from librecamera.
If none of your packages require networking-permissions (which at first glance I don't think they do), this may be due to one of the the following:
- You accidentally released the debug-build of your app
- You might need to manually remove the requested internet-access from some xml-file in your android-directory
from librecamera.
You are right โ it shouldn't require network permissions.
Currently I don't know where it may be coming from. There is no internet access in the AndroidManifest.xml set, and the F-Droid team surely hasn't built the app in debug mode. We'll have to see if it still occurs in the next F-Droid release.
from librecamera.
You're right, you seem to use the exact same files as I do in my app (that doesn't require internet access).
- https://github.com/iakmds/librecamera/search?q=internet
- https://github.com/Glitchy-Tozier/githo/search?q=internet
Also you seem to be using the same build commands I do:
- https://gitlab.com/fdroid/fdroiddata/-/merge_requests/11804/diffs
- https://gitlab.com/fdroid/fdroiddata/-/merge_requests/10627/diffs
No idea what is going on.
from librecamera.
Interesting. Let's see if it will be there in the next release too.
I wonder if it has anything to do with the packages I am using. Do you know whether packages in Flutter can effect permission use?
from librecamera.
I wonder if it has anything to do with the packages I am using. Do you know whether packages in Flutter can effect permission use?
I'm not 100% certain (it's been a while), but I think they can. If you check out my app on F-Droid, you'll see it requires some permissions. However, I haven't explicitly enabled them in my AdroidManifest.xml. In my case I'm pretty sure a package (probably flutter_local_notifications) automatically added them.
from librecamera.
Well, that may at least be a hint, thank you.
from librecamera.
Ey, @iakmds, I read the thread and for curiosity I made a quick search using the words "network" and "internet", and with the last one foud this in the source:
I hope this could be usefull ๐
from librecamera.
Hi,
thanks for the idea; Sadly the AndroidManifest.xml
in these folders (profile and debug) are not merged with the final apk (it's a Flutter thing), therefore it cannot be the problem. What is interesting is that F-Droid marks the permission as view network connections
which isn't even real "internet access", let's see and wait if it's still the same in the new version once it comes to F-Droid
from librecamera.
๐ค
Well, for now, I gonna leave this links from the F-Droid:
This is the source that F-Droid uses, maybe comparing both sources (from F-Droid and Github) could give to you some hint, I think there's programs that make the comparision more easy:
https://f-droid.org/repo/com.iakmds.librecamera_1_src.tar.gz
And this is the log of the compiling process:
https://f-droid.org/repo/com.iakmds.librecamera_1.log.gz
Also, I extracted the AndroidManifiest directly from the APK of the F-Droid version, and yeah, there's nothing about network or internet:
AndroidManifest.txt
Maybe you could see something that I don't.
from librecamera.
Version 1.3.1 is now on F-Droid, and as you can see, the permission is gone!
Can we close this issue? ๐
from librecamera.
Sure :)
from librecamera.
Related Issues (20)
- [Bug] X not working correctly...when i go to record a video i notice that the recording comes out fuzzy when i flip the camera while recording. I dont see this while im recording, but i see it after the fact when i go to play back the recording. Please advise if this can be fixed. Thank you!
- [Feature request] Hold take photo button for quick recording
- [Bug] LibreCamera doesn't open from other apps HOT 3
- [Feature request] Add feature to do video recording even with screen off / locked
- [Bug] Exif not working for webp
- [Feature request] Allow opening albums apps from built-in preview
- [Bug] Should the torch be turned off when entering settings?
- [Feature request] Flash indicator for automatic flash
- [Feature request] Zoom indicator (text) for two-finger pinch
- [Feature request] Text labels and auto-fitting for quality slider
- [1.9.1] EXIF doesn't include GPS infos
- [Feature request] Add a Themed/Monochrome Icon
- What's the secret of the sound?
- [Feature request] Add Motion Photos
- App Crashes on Image Selection
- [Feature request] Add Video Effect: Smooth Skin | Remove Nevus.
- [Bug] Weblate F-Droid app metadata translation is ignored
- [fuzzy recording-flip camera]
- [Feature request] Interval shooting
- [Feature request] options to enable like instagram Filters Effects : **then shoot**. No need to post-edit videos or photos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from librecamera.