Carrier support and carrier detection

Hi, I’m very interested in trying out Fortumo’s Corona plugin for carrier bllling. However, since Fortumo doesn’t support every carrier (e.g. in US, they support the four big ones + US Cellular, but certainly not every), we need a way to find out what carrier the handset is on, so that if the carrier isn’t supported, we can direct users to alternative options.

I’ve actually asked in other Corona forums if we could get access to carrier information, but now with Fortumo there is yet another reason for this.

Fortumo or Corona – can you add a way to get the carrier information?  It’s very, very easy in both Android and iOS:

In native Android:

 

TelephonyManager tmgr = (TelephonyManager)context.getSystemService(Context.TELEPHONY_SERVICE));

String carrierName = tmgr.getNetworkOperatorName();

 

In native iOS:

 

CTTelephonyNetworkInfo *networkInfo = [[[CTTelephonyNetworkInfo alloc] init] autorelease];

CTCarrier *carrier = [networkInfo subscriberCellularProvider];

NSString *carrierName = [carrier carrierName];

 

Hi, 

Fortumo actually does have the functionality in place to fetch whether an operator and country is active for your payment service.

In native Android library the method is called: isSupportedOperator(android.content.Context context, java.lang.String serviceId, java.lang.String appSecret).

It’s not currently implemented in Corona but we will push it to the next release, so should be available early next week the latest.

Cheers

Jaana

Hi, 

Fortumo actually does have the functionality in place to fetch whether an operator and country is active for your payment service.

In native Android library the method is called: isSupportedOperator(android.content.Context context, java.lang.String serviceId, java.lang.String appSecret).

It’s not currently implemented in Corona but we will push it to the next release, so should be available early next week the latest.

Cheers

Jaana

Any ETA on this getting integrated into the Corona release?

I would suspect this is a feature you should ask of Fortumo (to get access to their API call).  As for having Corona SDK add information about the carrier, has any one added the request to http://feedback.coronalabs.com?

Next Fortumo plugin update for Corona is planned for mid-next week, including java methods like isSupportedOperator and getPurchaseHistory.

Any ETA on this getting integrated into the Corona release?

I would suspect this is a feature you should ask of Fortumo (to get access to their API call).  As for having Corona SDK add information about the carrier, has any one added the request to http://feedback.coronalabs.com?

Updated Fortumo plugin now available at: http://docs.coronalabs.com/daily/plugin/fortumo/

Next Fortumo plugin update for Corona is planned for mid-next week, including java methods like isSupportedOperator and getPurchaseHistory.

Updated Fortumo plugin now available at: http://docs.coronalabs.com/daily/plugin/fortumo/