is upload image to firebase storage needs permission?how? - java

I am about to publish my new android java app,
I upload image profile to firebase storage,
Its working,
Without any permissions requests,
I am afraid that my app may not be accepted in app store because of no asking for permission,
So the question is:
is upload image to firebase storage needs permission and how?

If you performed a normal integration of the Cloud Storage SDK for Firebase, then you don't need to do anything special. Your app will have all the required permissions by default.

After added os version M. You need ask Run time permission for access storage.

Related

Simple image and audio upload being blocked firebase

I am making a music streaming app and I am able to retrieve data from the database to play a song and display the metadata but when I try to upload a song from my emulator it says I do not have permission. My rules are defined as public and I have connected my app to firebase. I even generated a SHA-1 key for the app and synced it to firebase but am stuck with the same error. Do I need to include authentication to remotely upload? Any help is appreciated
here are the rules for my firebase storage

How to add image storing feature using Firebase Cloud store?

I am building A notes app with firebase. Where users can login and save notes. I want to add a feature where you can store multiple images and users can check it in different devices just with logging in. Like Google notes. I am pretty sure I should firebase Cloud storage for this but cannot figure out a way to do it. Can someone guide me please
Register your app with the Firebase, either from the in-built firebase assistant present in Android Studio or from the firebase website.
For uploading an image, first you have to add the dependency to your app level build.gradle
implementation 'com.google.firebase:firebase-storage:$latest-version
In the activity, add the following to get the reference of the Firebase storage:
FirebaseStorage.getInstance()
Store the reference in an object of type FirebaseStorage.
Later wards on can upload image using the reference variable.
You can read the docs
here
Edit
For uploading multiple images, one can use an Array of URI.
ArrayList<Uri> imageListURI

React Native Publishing APP on Play Store Rejected (permissions)

I have just completed my app which I have React Native using Expo. It is my first time uploading an APP to Play Store. After I got finished uploading my APP and all the requirements I got an Email from Google that my APP got Rejected, and I have no idea how to fix the issues they have listed.
=====================================================================
Here are the reasons:
The declared function DEVICE_AUTOMATION is allowed, but not approved for the specific permissions that are listed in your manifestREAD_SMS . These excess permissions READ_SMS must be removed from your app manifest
The declared functionality DEVICE_AUTOMATION is determined to be unnecessary or not aligned with the core functionality of your app.
=====================================================================
Any help would be grateful.
Best Regards
Musayyab
Starting from Jan 9, 2019, Google starts restricts the use of high risk or sensitive permission including SMS or Call Log.
According to mail, you can't use READ_SMS permission in your application. (It does not matter what application make by whatever language) Indeed, Google just judge 'Your application doesn't need READ_SMS function'.
If you tried to use READ_SMS as OTP(or Phone Authentication), You can use SMS Retriever API to achieve almost same feature.
In other cases, there are no alternatives available at this time.
Android apps have something called Permissions which the app tell s the phone what it would like to do. The purpose of these is to protect the privacy of the Android User.
Google Play has recently got stricter in what apps it will allow to use some of these permissions, as they are often used by abusive apps. One of these permissions is READ_SMS. If an app is granted this permission it is allowed to read all of the users SMS messages.
It sounds from your comment like you don't want your app to read the users SMS messages. So in this case the check worked - your app was asking for a permission it didn't need. You should remove the request for the READ_SMS permission from your app.
There are instructions on editing the permissions in a react native app here. So possibly you added this permission to your AndroidManifest.xml file. If you did, then you should remove it.
If you didn't add it yourself, it is a possible a bad third-party library you added to your app added the permission. If so you should stop using that library.

Out of the box sync service for mobile app

amazon-cognito
I have a mobile app that collects a lot of medical data from the user and every ~30 minutes needs to send the new data to the server.
I need 2 things:
1- Sync between the server and the app the data. If a user login from another mobile device he should get all of his past data and have full picture of his history.
2- the data that is being sync with the server should be store also on data base that I can query for analytics purposes.
What do you suppose to be the architecture ? What technologies do you recomend for that? I thought to use aws Cognito with Redshift but it is limited to 20 MB for each user.
My main question is there any out of the box sync service that i can copy it also for my BI DB like Redshift?
You should try the AWS Mobile Hub site. It will produce a sample app with the functionality you are talking about. You then click to download that sample app.
It will produce an IOS app in Objective-c or Swift, or an Android app (in java?).
It will sync up to 1M per user using Cognito Sync, but the app can also provide access to files through S3 or database through DynamoDB.

Android Dropbox access. Enabling user to access the whole dropbox

I am developing an app so that a user can access all folders in their dropbox. I've already got production status for my app. All I need to do now is to find a way to either open the dropbox app from mine, or somehow list the contents of the dropbox in my app. Either way, I would like some help.
The purpose of this access would be to allow the user to pick files from their dropbox folder which they will then download into the app.
Thanks in advance. :)

Categories