Certificate pinning between android and mvc api server - certificate

Can you please help me to implement certificate pinning between android app and MVC web APIs.
Please help me with example code if possible
Your help is most valuable to me
Thanks & Regards
Ragesh MK

If your API are running under https, you should only add certificate pinning to the android app.
A good starting point is this owasp guide.

Related

Implementing google login flutter gives 12500 error

I implemented google login in flutter without using firebase in flutter (google cloud console). It was working in apk then later I needed push notification service for which I used firebase (fcm token and all) then I released the app to playstore but google login does not work. I keep getting apiexception error. Has anybody faced this issue? if yes any help would be highly appreciated.
I do not have a specific answer to your problem but I have also faced this problem once, I accidentally resolved it though.
But Error 12500 is a general error code that may occur when attempting to use the Google Sign-In feature and is caused by a few potensial issues:
An issue with the SHA-1 fingerprint of your app's signing
certificate: To use Google Sign-In, you need to configure your app's
SHA-1 fingerprint and package name in the Firebase console. Make
sure that the fingerprint and package name you have configured in
the Firebase console match the ones you are using to sign your app.
An issue with the Google Services configuration file: Make sure you
have properly added the Google Services configuration file to your
app.
An issue with the Google Play Services library: Make sure you have
the latest version of the Google Play Services library installed in
your app.
An issue with the device or emulator you are using: Make sure you
are testing on a device or emulator that has Google Play Services
installed and is up to date.
Possible fixes to try/check:
Double-check the SHA-1 fingerprint and package name: Make sure that
the SHA-1 fingerprint and package name you have configured in the
Firebase console match the ones you are using to sign your app.
Make sure you have added the Google Services configuration file: The
Google Services configuration file is required for your app to
communicate with Google services, including Google Sign-In. Make
sure you have properly added this file to your app.
Update the Google Play Services library: Make sure you have the
latest version of the Google Play Services library installed in your
app. You can check for updates by going to the "SDK Manager" in
Android Studio.
Test on a device or emulator with Google Play Services installed:
Make sure you are testing on a device or emulator that has Google
Play Services installed and is up to date.
I hope this helps! I will quickly search if I can find any other solution.

Firebase phone authentication: how to enable "Android Device Verification" API

currently I'm facing a problem about firebase phone authentication.
Whenever I searched the problem in SO, everybody said that "Android Device Verification" API shall be enabled, but the API is not searched on GCP.
You can find the Android Device Verification service here.
Ensure you have enabled Android Device Check API and you have added your SHA256 to the Firebase Console.

How to deploy SAP Spartacus PWA to app stores

We are currently working on a new PWA mobile app using the SAP Spartacus framework, and we would like to package and upload this new mobile app to the Google and Apple app stores. I've found online documentation for using Bubblewrap for deploying PWAs to the Google play store and PWABuilder for deploying PWAs to the Apple app store, but I have not found anything online specifically for Spartacus PWAs.
I have not yet attempted to deploy to either of these stores using either of the packages mentioned (Bubblewrap or PWABuilder), but I'm assuming from experience that the process for packaging and deploying a Spartacus PWA will be more complicated than a simple PWA.
Has anyone done this already and can share tips/tricks on how to make this happen? Is anyone aware of online resources to help make this happen?

Implementing Azure AD B2C on Ionic

I am stuck configuring Azure AD B2C for an ionic app. I have a working web app that uses MSAL.js, but when I configure it for a mobile app (ionic) nothing happens when I click/tap on social buttons like "Facebook"... I would appreciate any links/guidance that will help solve the problem. Thanks!
Apparently the 0.7.1 / 0.7.2-dev versions of the ADAL Cordova plugin use ADAL libraries that do not meet the B2C handshake / Oauth2 requirements. Using the ADAL Cordova Plugin Patch For B2C and angular-jwt, we can implement Azure AD B2C Sign In On Cordova/Ionic App

Implement chat functionality in iPhone application in IOS 5?

I want to implement chat functionality in iPhone application. Please suggest me. Can we use xmppframework?
Thanks in advance.
Installation:
you can download the framework from here
http://code.google.com/p/xmppframework/source/checkout using a mercurial client for your OS.
or
download files individually from
http://code.google.com/p/xmppframework/source/browse/
After this use
http://code.google.com/p/xmppframework/wiki/iPhone
to install the sdk
For the mercurial client:
https://www.mercurial-scm.org/downloads
Usage:
http://code.google.com/p/xmppframework/wiki/IntroToFramework offers some good instructions on use