iOs Archives

React Native Push Notification – IOS

Author - Webner
|
0 Comments
|

Push Notification

A push notification is a message that pops up on a mobile device to notify a user that a specific action has occurred in that mobile app.

Below are the steps to configure Firebase in your application (To continue with these steps, you should already have Read more…

How To Make Provisioning Profile For iOS?

Author - Babita Kapoor
|
0 Comments
|

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…

Steps to Upload and Distribute iOS Build through Testflight

Author - Babita Kapoor
|
1 Comment
|

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…

How to read Mobile Hardware and Operating system Details in React Native

Author - Varun Chopra

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.
Installation:

npm install Read more…

How to run Background services in Ionic app

Author - Varun Chopra
|
0 Comments
|

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.
Installation:

$ ionic cordova plugin add cordova-plugin-background-mode
$ npm install @ionic-native/background-mode

Platform:p Read more…

How to get scan QR Code or Barcode in React Native app

Author - Varun Chopra
|
0 Comments
|

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.
Installation:
npm install react-native-camera-kit –save react-native link react-native-camera-kit

Add the Read more…

How to get scan QR Code or Barcode in Ionic app

Author - Varun Chopra
|
0 Comments
|

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.

Installation:
$ ionic Read more…

How to play Audio file in React Native

Author - Varun Chopra
|
0 Comments
|

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

Author - Kiranpreet
|
0 Comments
|

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.

Example:-

Read more…

Software Testing | Understanding Severity & Priority

Author - Webner
|
0 Comments
|

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…

Test cases generation and bug report generation in salesforce

Author - Piyush
|
0 Comments
|

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…

Salesforce Mobile iOS SDK | Retrieve the list of objects from salesforce

Author - Webner
|
0 Comments
|

Salesforce Mobile:

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.

Code:
In your Read more…

Salesforce | Show Loading on AJAX request and disappear after completing its progress.

Author - Kiran Preet
|
0 Comments
|

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…

iOS | Inconsistent Status Bar in iOS Phonegap Application

Author - Vivek Gautam
|
0 Comments
|

Problem : Header goes under the status bar and menu button is not clickable in Phonegap/Cordova Application.

Solution :

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…

iOS | How to get installed app package names

Author - Vivek Gautam
|
0 Comments
|

Here is the code to get names of app package installed on iOS devices:

include objc/ runtime.h in your viewController.m
include <objc/runtime.h>
– (void)GetInstalledApps
{
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…

Restrict back button of browser using Struts2

Author - Neha Mishra
|
0 Comments
|

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
{
@Override
public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain Read more…

Android | How to get list of all the apps installed on Android device

Author - Vivek Gautam
|
0 Comments
|

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…

JQuery | Check/uncheck the radio button on click using jquery

Author - Ishpreet Kaur
|
0 Comments
|

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.

Solution:

Suppose Read more…

Mobile Apps | Fluctuation in the latitude and longitude values for the current location

Author - Webner
|
0 Comments
|

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…

Air Gapping | Mobile app connectivity with localhost services

Author - Webner

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…