15
Views
1
Comments
Smartphone ISP Name from IP?
Application Type
Mobile
Service Studio Version
11.54.27 (Build 62849)

Hi everyone,

Does anyone know a way to get the ISP from a Smartphone, knowing its IP Address?

Preferentially, one that would work for both iOS and Android?

If there are none, no free APIs or no forge components for this one.

How could I embed these fucntions for each platform?

Android:

TelephonyManager manager = (TelephonyManager)context.getSystemService(Context.TELEPHONY_SERVICE);String carrierName = manager.getNetworkOperatorName();

  

iOS: 

(NSString *)carrierName {     CTTelephonyNetworkInfo *netinfo = [[CTTelephonyNetworkInfo alloc] init];     CTCarrier *carrierInfo = [netinfo subscriberCellularProvider];     return [carrierInfo carrierName] ? [carrierInfo carrierName] : @"No Carrier Info"; }

Thanks in advance,

PS

Hi Pedro,


Have you tried looking at creating your own plugin to get the carrier name from the phone? 

Maybe this can help https://www.npmjs.com/package/community-cordova-plugin-sim

Some documentation that can help
Using Cordova Plugins

How to Create a Cordova Plugin from Scratch and Add to Your Low-Code Mobile App

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.