I am using code push to update the app at run time. I already updated app 4-5 times. Now currently I have added auth and share functionality to the app with third party packages. I have commented all the code for share and auth functionality. I also did some native code changes also.
While doing code-push app is not updated. I got this error 'Unable to get the hash of the binary's bundled resources - "codepush.gradle" may have not been added to the build definition
As per document Codepush only update JS, CSS files. I already commented the new features auth and share.
I checked few solutions on the github, but none is working for me.
Note: 1. For testing purpose, I installed the app in device with auth, share functionality. Then I did some text change and then code push. Here changes are reflected properly.
2. I have also added custom fonts to the app.
Related
I have a Flutter app that works great for both iOS and Android when using a Branch.io QuickLink. However, we are changing from a Branch.io QuickLink to a Branch.io Journey.
I am using the flutter_branch_sdk package, latest available (3.5.0 as of writing).
With no Flutter code change, the iOS app still works as expected. However, the Android app is no longer working if the app is NOT installed.
If the app is already installed, then the Android app properly gets the abc=123 information passed in from the Journey. However, if the app is NOT installed, the abc=123 is not passed in to the app once it's installed via the Journey.
I have verified in Google Play that I have the correct sha256 certificate fingerprint for the 'Enable App Links' in the Android section of Branch.io configuration.
Does anyone have an idea of what I am missing or doing wrong?
I'm not sure what code I could include here that would help. However if there is something I could include, please let me know.
Thanks for any direction.
I have added the iOS version of my App in firebase already, now I'm trying to add the Android version of the same App, but the problem is that both iOS and Android have the same package names. While adding Android, I'm getting the error An unexpected error has occurred. [Reason: Requested entity already exists]
Is it compulsory to keep bundle/package names different for both iOS and Android in firebase?
No, both iOS and Android app can have same package name. In fact, I have an Android/iOS apps which are connected to Firebase. For security reasons, I have to hide package name and other confidential information. But as you can see, you just need to click Add app button and create 2 apps one for Android, one for iOS. Best regards.
Note: I added Android app first then added iOS App. If you still have a problem, there might be bug in Firebase side.
I built a small application that gives real time update on coronavirus cases in my country.
Just recently, the API which I used to get the number of cases, deaths etc changed their endpoints
e.g from
https://covid19.com/corona/country
to
https://covid19.com/v2/corona/country
Due to strict restictions by Google on apps relating to covid19, I couldnt upload to playstore but I built an APK and shared the link to many people to download.
Now, they cant access the number of cases in the app due to a change in the API endpoints.
Please, how do I change just that string URL from my end to have effect on everyone who has the app already without needing to build another apk and making people to download the app again.
I discovered Firebase Remote Config, I tried it on my android studio, run the app on my phone, and yes it was working on my device, but How do I get it to work on other people devices with the app already installed.??
The only option you have is:
If you have put any text field which takes string data dynamically (like from database/server), there you can inform user to download latest version with a short link. But again that depends upon the text view size/scope you have defined.
Since, without updating the app itself by anyway, it seems impossible to make the existing app working.
I have built an app using react-native and I wanted to release my app on the app store so I built an ipa using Xcode and submitted it to the app store.
2 days later apple rejects the app saying
Guideline 2.3.10 - Performance - Accurate Metadata
We noticed that your app or its metadata includes irrelevant third-party platform information.
Specifically, your app includes references to Android in the metadata.
Referencing third-party platforms in your app or its metadata is not permitted on the App Store unless there is specific interactive functionality.
How exactly do I solve this issue? I'm pretty sure that when building a bundle for iOS react native automatically only packages common and ios related code.
The guideline 2.3.10 reads as "Make sure your app is focused on the iOS, Mac, Apple TV or Apple Watch experience, and don’t include names, icons, or imagery of other mobile platforms in your app or metadata, unless there is specific, approved interactive functionality." as mentioned in the below link
https://developer.apple.com/app-store/review/guidelines/#accurate-metadata
you can refer to the below links to solve the issue.
https://support.magplus.com/hc/en-us/articles/203808528-iOS-Troubleshooting-Metadata-Rejected-in-App-Store-Review-Status
But you are right that when building the bundle the react native will only package common and iOS related code. But you can check in the code whether you have added any method names with android specific details. If in case you have android related explanations in comments section (// or /* comments*/), it will be ignored.
The Apple App Store doesn't check your code.
Meta Data means the data which you provide to publish your app on App Store.
Check if you have accidentally put "android" word in that anywhere.
In my case i have added "android" word in app description
They refused my app because I put an image that mentioned available on "Google play "
I have been trying to add Google Drive(v2) into my Android application and I can’t get past authorization. I have been getting UserRecoverableAuthIOException, with the message “NeedPermission.” I have a feeling that there is something wrong with my Client ID on Google API Console, but I thought I should post here to see if anyone could shed some light on my situation.
I have implemented the Drive Quickstart for Android, and I ran DrEdit with no problems. (https://developers.google.com/drive/quickstart-android and https://developers.google.com/drive/examples/android)
The only real difference between my application and the sample/example applications is that the Google Drive code would be in a library project, so I tried the following:
I created a project with a package name (Let’s call it com.example.googledrivetest), that had the Android Quickstart code. This ran perfectly.
Then, I made this project into a Library Project, and changed the package name (Let’s call this com.example.googledrivetestlibrary), and made a project with “com.example.googledrivetest” as the package name. This new project called the library project. Running this new project worked correctly as well!
So, I tried moving the code that was getting the UserRecoverableAuthException in the other project into the library project (since, it was working). To my surprise, it worked perfectly.
Now, both “com.example.googledrivetest” and my other application (with the exception) are both registered on Google Console APIs’ API Access. So I tried changing “com.example.googledrivetest” to “, and then it started getting the UserRecoverableAuthIOException. If I changed it back to “com.example.googledrivetest,” it worked again.
So, I was wondering if there is anything I am doing wrong, or need to add to my code to get it to work.