Provisioning Profile for iOS
A provisioning profile binds developers and devices to an authorized iPhone Development Team and enables a device to be used for testing. Just Like android, you can’t install your application directly on the iOS device. Provisioning profile act as an intermediate between the Read more…
Learn the Steps to Upload and Distribute iOS Build through Testflight
Testflight is a feature provided by apple to test the application by a group of users. In this we can send invitation to the users. It makes easy to invite users to test your ios Read more…
Steps to read Mobile Hardware and Operating system Details in React Native
To get the android and ios device information like UDID, version, build, operating system etc – We can get this information by using react-native-device-info plugin provided by react native.
npm install Read more…
Steps to run Background Services in Ionic app
To keep your app running some functionality in the background you can use background mode plugin in ionic.
$ ionic cordova plugin add cordova-plugin-background-mode
$ npm install @ionic-native/background-mode
Platform:p Read more…
Steps to scan QR Code or Barcode in React Native app
There are different libraries to scan barcode in react native. One of them is react native camera kit.
npm install react-native-camera-kit –save react-native link react-native-camera-kit
Add the Read more…
Steps to scan QR Code or Barcode in Ionic app
For Scanning barcode Ionic provides a barcode scanner plugin which opens camera view, which can be used to scans a barcode or QR Code and return the scanned code back to you.
$ ionic Read more…
Steps to play Audio file in React Native
React-native-audio-player is a react-native link module for audio recorder and player. This library provides simple recorder and player functionalities for both android and ios platforms. This only supports default file extension for each platform Read more…
Style your existing Visualforce page with Lightning Experience
You can view your existing Visualforce page with lightning experience by simply adding a lightningStylesheets=”True” attribute in the tag.
This tag will work with Salesforce for Android, Salesforce for iOS, or Salesforce mobile web.
While testing the Web applications, Software and Projects, sometimes we cannot perform the full test scenarios and bug fixes due to shortage of time or due to project running out of time. A lot of bugs and errors could be left behind due to shortage of time. In this case Read more…
In case you would like to create test cases or record bugs inside Salesforce you can create custom objects for this.
Steps for test cases object creation:
Select->Setup->create object->new custom object
Then we can add custom fields and relationships or the validation Read more…
Retrieve the list of objects from salesforce in iOS native mobile app
Description: Using the salesforce mobile iOS-native SDK we can retrieve the list of objects using “requestForDescribeGlobal” SDK method. This method will return the data of all the objects from your salesforce org.
In your Read more…
Solution : In many scenarios, apex button click sends an AJAX request (for e.g. to render a part of Visualforce page after completing its progress). Sometimes the AJAX request takes so much time.
To cope with this issue we have to show loading or waiting message to the user as Read more…
Problem : Header goes under the status bar and menu button is not clickable in Phonegap/Cordova Application.
In the iOS version 7.0, App View covers full screen including the status bar, and the view starts from top of the screen i.e. origin(0,0); which was not Read more…
Here is the code to get names of app package installed on iOS devices:
include objc/ runtime.h in your viewController.m
Class LSApplicationWorkspace_class = objc_getClass(“LSApplicationWorkspace”);
NSObject* workspace = [LSApplicationWorkspace_class performSelector:@selector(defaultWorkspace)];
NSArray *array = [workspace performSelector:@selector(allApplications)];
NSMutableString *packageList = [NSMutableString stringWithString Read more…
Follow the steps below to restrict back button of the browser:
1. Make a custom filter class as shown below.
2. Implement Filter (in-built interface)
3. Override “doFilter” method present in the Filter interface:
public class NoCacheFilter implements Filter
public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain Read more…
In one of the mobile app we were required to get the list of all the installed applications on user’s mobile. This was possible but due to security reasons first of all you need to prompt app user to allow access his/her device contents by showing a dialogue Read more…
When we click radio button, it gets checked. Once it gets checked it doesn’t get unchecked when again clicked. We can use checkbox for checked/unchecked status of input, but sometimes requirement arises when we need to use radio button for checked/unchecked status instead of checkbox.
Suppose Read more…
In mobile applications development tracking lat/long of the current location is one of the most commonly used features. To achieve such functionality we mainly use three types of providers which are:
1. GPS providers
2. Network Providers
3. Sim Card or Offline providers
But when we use any of Read more…
When we were trying to connect an android app with the php localhost services it was giving an error: cannot connect to the server please check your network connection.
Code independently was working but not when we were connecting Android app to localhost code. It was working on uploading the Read more…
When mobile developers create an application, whether in Android or iOS, they often face challenge of mobile device fragmentation. Mobile device fragmentation in simple words means when an application is not able to run on some devices while it runs fine on others. One such problem developers encounter is where Read more…