Warning in IOS build while validating app - ionic-framework

How to remove warning _setAlwaysRunsAtForegroundPriority in IOS?
Always found this warning when I am trying to release my app to app store. Can any one have experienced of it please help

As per my experience, It's a warning you can ignore it still if you want to resolve this warning you need to update your webview plugin to the latest version and this will remove above warning.
Follow the below steps:
cordova plugin rm cordova-plugin-ionic-webview
cordova plugin add cordova-plugin-ionic-webview#latest
Will install the latest version of WebView Plugin and after onwards you will not get above warning.
Ref Link of this warning reported
Hope this will helps!

Related

While publing app on playstore got : Please upgrade to Billing Library version 3 or newer to publish this app

While publing app on playstore got : Error We've detected this app uses an unsupported version of Play billing. Please upgrade to Billing Library version 3 or newer to publish this app.
Okay I got solution , I just updated all deprecated libraries.
I was using Flutter 1.22.4, I migrated my project to Flutter 2.5.3 (Latest one as of nov-2021) everything solved.
I faced the same issue, here is some workaround worked for me.
In your android>app>build.gradle add following line in dependencies.
implementation ('com.android.billingclient:billing:4.0.0'){ force = true }

Successfully integrated Cordova 5.0.0 push plugin.I want to get the payload of notification message when user clicks the notification

I am mobile application developer.am working on adding Cordova push kit plugin in my Cordova project .First I added 5.0.0 Cordova push plugin but in that version am not able get payload of notification message when we receive notification no event is triggered so we not able to handle notification messages .Then Huawei developer team advised me to use latest 5.0.2 Cordova plugin version which is added with event listener features. But in latest plugin u used androidx but our project we using Android so getting some conflicts while adding latest.Same time our manager don't want to migrate androidx in our project.So pls help me to solve this issue.My need is want to handle some event whole receiving notification message and also while clicking notification Message and also I need payload of that notification message.pls help me to solve this
Please migrate to AndroidX.
 Go to android folder in root directory of Cordova Project.
 Create a new file named gradle.properties. You don't need to create this file if you have it
 Open gradle.properties file and add these lines to in.
android.useAndroidX=true
android.enableJetifier=true
From above,  you will be able to migrate from android to androidx.
Or , 
If CP uses cordova-android 9.0.0 version then AndroidX support needs to enabled through config.xml. To do this just add following line below to config.xml ->
Note : Please migrate from android to androidx , not only for Push Kit , in future many kits if your CP wants to integrate there also in updated version with more functionalities androidx required.

Error while uploading Flutter App to App Store: Non-public API usage

I am new in Flutter Development and i have developed an app with Webview.
I have upload an apk on Google Play Store that is accepted but for App Store it shows some error.
Please find below error,
ITMS-90338: Non-public API usage - The app references non-public
symbols in Frameworks/Flutter.framework/Flutter: _ptrace. If method
names in your source code match the private Apple APIs listed above,
altering your method names will help prevent this app from being
flagged in future submissions. In addition, note that one or more of
the above APIs may be located in a static library that was included
with your app. If so, they must be removed.
For this error i have search many things but i am unable found any solution for this.
So please any one who is capable of solving this please help me to resolve this.
Thanks & Regards,
This happens if you are submitting the debug version to the AppStore, Flutter team recommends you to first run
flutter build ios --release
before archiving your app in Xcode.
First make sure you are submitting a release build with flutter build ios --release
If that's not the problem here you could find similar problems related:
flutter build ios --release may use a debug Flutter.framework by mistake
In my case, I updated my Mac to 10.15(Catalina), while the update my cocoapods installation wasn't there. So whenever I try to upload using the command flutter build ios --release and archiving it. Apple sent me the same email you received.
You can install cocoapods using the following commands.
step 1 Open terminal
step 2 command: sudo gem install cocoapods
step 3 set your project path on the terminal.
step 4 command: pod init
I hope it helps.

How to get Ionic Pro Deploy to download latest version on first app open

Problem
When I release a new version to the production channel in Ionic Pro Deploy (Channels) then I have to cycle my app twice in order to get the latest version. Even worse, on the first cycle my app reverts back to a far earlier version for some reason.
What I mean by cycling is, starting from a state where the application is shut down and not open, I open the app, wait for the splash screen to go away and app to be ready, and then close the app.
Question
How do I get my app to download the latest version on the very next time I open the Ionic app following my production release?
Plugin configuration
I used the plugin config from the dashboard.ionicjs.com page:
cordova plugin add cordova-plugin-ionic --save \
--variable APP_ID="[myappid]" \
--variable CHANNEL_NAME="Production" \
--variable UPDATE_METHOD="background"
Execute the command you already showed but set UPDATE_METHOD to "auto"
If you wand more control over your updating methods have a look at this:
https://ionicframework.com/docs/pro/deploy/plugin-api.html
In my case, live deploy worked correctly on a "blank" Ionic project. Live deploy also worked correctly on "my" app on iOS but not on Android.
I followed the follow steps and successfully fixed Android. However, during this process iOS suddenly had the same problem (would apply update on app install/close/open).
Set versions as per Ionic support. IonicPro live deploy currently requires these versions. Ionic are in the process of fixing this dependency:
"cordova-plugin-ionic-webview": "1.1.19",
"cordova-plugin-ionic": "4.1.7",
Install a new version of "blank" project. Update my app to use the same npm plugin versions (some of my app plugins were old).
Remove/add android platform. My hunch is this is what ultimately resolved the issue.
I wanted to try a remove/add ios platform to see if that also resolved the issue on iOS. But it was less work to ultimately switch over to IonicPro rather than re-config the local build setup.
Live deploy worked correctly on both iOS and Android after creating binaries in IonicPro.

statusbar / header appears in iOS-11. How will i hide it?

I made an ionic application. Still works perfectly in iOS-9 and iOS-10.
Today, i update iOS-10 to iOS-11 and i also update xcode-8 to xcode-9.
There is a strange issue in iOS-11. See below image for the issue.
When, i was build the app in xcode8 and ios10, the header/stautsbar was not appears.
But, when i update xcode8 to xcode9 and ios10 to ios11 then this issue occurs.
Please tell me, how should i hide it or make it transparent.
Thanks in advance
finally i found a solution.
i installed plugin
cordova plugin add cordova-plugin-disable-ios11-statusbar --save
Then build and run the app the issue will be solved
Add this to your viewport meta tag viewport-fit=cover
check the blog (iOS 11 Checklist)
ionic cordova plugin rm cordova-plugin-statusbar
ionic cordova plugin add https://github.com/apache/cordova-plugin-statusbar.git