Dynamic rating and description in smart app banner - javascript

In my application i have created smart app banner for mobile app(Android/IOS).If I click the open button according to my mobile device i am target to (Android app - google play) or (IOS app - Apple store) of my app. But In banner i am not getting dynamic description and rating from (App store/google play). so please any one help me to get description and rating dynamically from (App store/google play).

I think that what you are looking for are APIs.
Regarding App Store you may take a look to the iTunes Search API (see the lookup section) which will give you a nice JSON object representing the app. I'd suggest to fiddle with it to understand better how it works.
In regard to Play Store there are no official APIs, while some unofficial versions are available. Take a look at this Quora question for further informations.

Related

Creating TomTom webview with react native

I need to create a react-native project for Android and Web environments.
For that, I need to place a map (free one) on one of the screens in my app.
I followed this guide:
https://developer.tomtom.com/blog/build-different/using-tomtom-maps-web-sdk-react-native-web-view-app
I changed a few things and I managed to load the TomTom map with WebView on Android only.
I used expo to load my app on my desktop browser and it won't display anything. Also, I can't send a reference object to the 'ref' field in WebView when using my browser. The reference works fine in Android.
After many tries I read that 'react-native-webview' does not support Web.
Basically I need a working map with locations (stores, parks etc.) and when the user will click or touch a location marker - I need to take the location details and show him a floating window with my data regarding the location.
How can I make it work on both Android and Web?
Do you think I should change to another free maps API that is more suitable for my situation?

Ionic: integrate into iMessage on iOS

everybody. I'm stuck... I'm implementing an iOS chat on ionic framework, and use angular 1.
I have an idea... But in google i can't find any good information about implementing iMessage into my app (or otherwise, it doesn't matter).
For example, like this service do
Some ideas i've got from here:
https://github.com/matiastucci/socket-chat-client
You can create an iMessage app (an app that basically shows in the keyboard area when you are in the iMessage app). But, you can not create an app that will show incoming iMessages or that will send an iMessage to someone.
Information on building an iMessage app

JavaScript - one link, all app stores, non-Safari detected

I'd like to have a single 'Get App' link that auto-detects the user's device type and browser and directs to the appropriate location (iTunes, Google Play, or website sign-up). I am currently using Onelink.to, but it has the following limitations:
if you're on iOS using a non-Safari browser (like Chrome) you end up looking at a bunch of raw JSON because it doesn't know to launch the App Store app. In this case, I'd prefer to direct to the iTunes website or better yet, deep link into the App Store app.
if using the link on your own site and a user is on a device that redirects to a different page of your own website, it complicates setting up event-based goals in Google Analytics
Are there any good JavaScript solutions that handle the App Store redirect while excluding this action on browsers that don't support the iTunes headers?
Thanks!
You can use javascript navigator.userAgent and parse it to detect the device. Then just generate the link according to it.
Here is an example for ios detection:
Detect if device is iOS

Cordova and Google Maps Javascript issue on iOS appstore

I'm facing an issue on publishing a Cordova app on IOS store.
I'm using "Maps JavaScript API" that refers to google map browser view.
As I publish the app the tech support (first and second level) refuse it multiple times due to this problem "app’s location feature is not integrated with the built-in mapping functionality, which limits users to a third party Maps application. Revise your app to give users the option to launch the native Apple Maps application".
NOTE: I'm not talking about call the map application's device that is performed by:
if(device.platform == 'iOS')
link = 'maps:q='+ item.address;
and produce this HTML:
Click Here
Can anyone suggest how to solve this issue? Documentation or examples are welcome.
Thanks
One way to do this is to use http://docs.phonegap.com/en/edge/cordova_geolocation_geolocation.md.html plugin so you can collect the devices coordinates, and before that send warning to user so he can allow you to use his position. You can find full example on the link.

What's more accurate than GPS in determining location on mobile

I have a company where I want to show every detail like offices, ladders and WC's on a map on a mobile app to be displayed to visitors.
I want also to track the visitors inside the company or "Mall" through their mobiles ... counting them a day for example , and making a small social network between them.
GPS unfortunately isn't accurate enough to be used here. can you suggest a better localization method ?
Bluetooth beacons are designed for this kind of thing but depend on you getting users to download the app and turn on Bluetooth. Look into Apple's iBeacon standard and Google's Eddystone. Both can be used on Android and iOS.

Categories