Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How to do android phonegap environment in Adobe Experience Manager for the purpose of getting IMEI Number ?

Avatar

Former Community Member

Hi

 

I am new for Adobe Experience Manager and I am currently trying to get IMEI Number using android phonegap environment in AEM. But not getting.

Could you please provide proper information to get IMIE Number using android phonegap environment in AEM .

 

Thanks in advance .

 

Thanks,

Jayaram

1 Accepted Solution

Avatar

Correct answer by
Level 3

Hi

You will need to install a Cordova plugin in order to obtain the device IMEI on Android. iOS doesn't allow the IMEI to be obtained. After a quick search there seem to be a number of Cordova plugins that do this already.

Here is one example: https://github.com/zho/phonegap-imeiplugin.

I have never used this plugin so cannot provide any opinion but feel free to try it out to see if it suits your need.

If you can get away without not requiring the device IMEI there is also the Cordova device plugin which has much more support. https://github.com/apache/cordova-plugin-device

This plugin provides the device UUID. On Android the device UUID is a random 64-bit integer that is generated on the device's first boot.

 

Anthony

View solution in original post

3 Replies

Avatar

Level 10

I have asked the AEM mobile team to look at this question. 

Avatar

Correct answer by
Level 3

Hi

You will need to install a Cordova plugin in order to obtain the device IMEI on Android. iOS doesn't allow the IMEI to be obtained. After a quick search there seem to be a number of Cordova plugins that do this already.

Here is one example: https://github.com/zho/phonegap-imeiplugin.

I have never used this plugin so cannot provide any opinion but feel free to try it out to see if it suits your need.

If you can get away without not requiring the device IMEI there is also the Cordova device plugin which has much more support. https://github.com/apache/cordova-plugin-device

This plugin provides the device UUID. On Android the device UUID is a random 64-bit integer that is generated on the device's first boot.

 

Anthony

Avatar

Level 7

I might be wrong but doesn't the user have to agree on sharing this information which we normally see in apps, does websites could also interact in the hardware level and get the hardware information? In this case how the privacy policy is managed? wouldn't it be a policy violation?

The question might seem silly.... :)

Cheers

Tuhin