Handling free & paid versions of Windows Phone 8 apps? [closed] - windows-phone

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm currently finishing up my very first Windows Phone 8 app. Right now, I'm including ads, and I am planning on selling it for free in the Store. I'm wondering though, what is the best way to go about also including an ad-free, paid version of the app?
Is it better to have two versions in the Store, or have one paid version that has a "trial" version which includes the ads?
For either option, does anyone know of a tutorial or good approach to using the same code base for each version? For example, using the same code for both versions but have the code programmatically determine (based on that version) whether or not to include ads?
SOLUTION:
I went with the answer by #DVD below to use an in app purchase system. I found an excelling tutorial for how to do this (which includes testing in the emulator) here:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj681689(v=vs.105).aspx#IAP_MockLibrary

For windows phone 8 I think the best solution is using in-app purchases to remove the ads.
If you use two different versions of the app you are splitting your users, reviews and downloads with 2 apps, remember that reviews and downloads are used to calculate the app rank .
I only recommend this system if you are publishing for the WP7 market as well, because this one doesn't support in app purchases.
Still if you want to use this system, a possible solution is using pre compilation statements.
#if PAID_VERSION
(paid version code)
#else
(free version code)
#endif
Creating a new Solution Configuration, you can copy Release options and atribute a new name to it, after that you just need to add the symbols on the projects properties in build tab.
After this you select witch solution config you want to deploy and you are done.

Related

How to implement stripe with react-native using expo? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I have been searching a lot and seen a lot of similar questions but non of them fits in my requirements.
I need to implement Stripe in react-native built using expo XDE. As mentioned in expo docs here: https://docs.expo.io/versions/latest/sdk/payments.html#importing-payments, I will have to detach my project to implement payment but I don't want to do that. Is there any alternative?
Also other wrappers available on GitHub doesn't facilitates projects built with expo completely. I am unable to find any complete wrapper or at least a guide to build my own.
I am looking for a solution for subscription based model, I need to charge my customers recursively and allow them to upgrade/downgrade their packages during an on going paid/trial period. I don't want to hold credit card information and allow customers to update their billing information whenever needed. Implement refund policies as well.
If you don't want to eject from Expo, you can use StripeCheckout component from expo-stripe-checkout on iOS and Android (though on Android you can still use the Payments module). Here's the link to the repo with further instructions: https://github.com/briansztamfater/expo-stripe-checkout
I recently faced the same issue, this is the conclusion:
Short version: You'll need to detach if you need payments (Stripe) on iOS. (If you don't, juse use the Payments module from Expo - it is not obvious right away, but they do state in the docs that it is based on tipsi-stripe).
Explanation: The Expo SDK used to contain a payments module for both Android & iOS. For the last 3-4 versions of Expo, Payments has been removed from the iOS SDK because "Apple sometimes rejects apps which contain the Stripe SDK but don’t offer anything for sale.".
Reference: https://docs.expo.io/versions/latest/sdk/payments.html
Solution: detach to ExpoKit, and then add the Payments module manually. I can say from experience this is not a nice or straightforward process, as it first introduced the concept of manually building your app using MacOS/Xcode which is a pain to say the least for a Win user.
If you do not want to detach, it means you will have to implement your own, custom way of communicating with Stripe and not than their official SDK, which will imply PCI compliance issues.
You can all Stripe API directly. map Stripe customer Id and your user id in your backend. then you can call this API's from frontend using stripe customer id.

Can I start a call from a hybrid application by clicking on one button using MobileFirst? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
i want to develop a hybrid application which makes a phone call to a static number automatically when clicking on a button using mobilefirst.can you help me?
It's not specific to IBM MobileFirst. A bit of googling would've given you the answer you needed...
Here are a couple of options to open the dialer with a number:
Directly in the HTML (you can style the a to look like a 'button'): call this number
Using JavaScript code to be called in a function: document.location.href = "tel:+375292771265";
Edit:
It seems that you want to auto-dial.
iOS: In iOS this is not allowed in webpages. Worklight apps are essentially web code and thus considered a "webpage" by the OS and will thus first display an alert confirming if the end-user truly wants to call this number or not. In a native app the dialer will auto-dial. This can be read in the iOS documentation: https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/PhoneLinks/PhoneLinks.html
Android: not allowed by the OS. You may be able to achieve this using a Cordova plug-in: see how to create Cordova plug-ins in MobileFirst Platform Foundation and a possible functionality implementation.

How to run Clipper Application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a legacy code base written in CLIPPER. I don't have any idea of CLIPPER programming language.
How do I get started with it and deploy this application? Is it a scripting language OR some sort of OOPS language any study reference will be helpful
Thanks in Advance
Kaushik
Clipper is 16-bit compiler for character-based (not GUI) applications running on MS-DOS platform. There are, however, 3rd-party tools that will allow to produce 16-bit Windows GUI applications.
It's still owned by Computer Associates but all future development and support was delegated to GrafX long time ago.
The last released version was 5.3 but many developers stayed with 5.2e. The last update was around Y2K.
There are Harbour and xHarbour open source projects that developed their own compilers for this language (which in the beginning was similar to dBase III).
You can find information about the language and some 3-rd party libs in a Clipper section of this web-site.
Native Clipper compiles all its code into a single executable that runs on user desktops. Its data and index files are usually placed on a network share. Executable itself can also be placed on a share with user desktops having a short-cut to it.
Native Clipper applications (16-bit) will not run under 64-bit Windows. There are emulators (like DosBox) that allow to overcome such limitation.
Clipper related questions can be asked on comp.lang.clipper newsgroup.
If you have more questions add them as comments here.
Another good resource is Norton Guides for Windows, you can download it from a great site with lot of information about Clipper:
Download NGW from www.the-oasis.net.
I was unable to find the .NG files on that site, but you can see them online here if you want or try to found the files googling them.

Pubcenter Alternatives [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I have an app published in the Windows store with pubcenter ads but after the recent drop in fill rates (see here) these adverts a providing effectively no revenue (maybe £0.01 in a day occasionally). I wonder if any one knows of any alternatives for advertising.
I have looked at inmobi but their sdk seems to only have out of date documentation that does not work. AdDuplex is also not an option as it is not available for HTML/JS apps.
There are many different PubCenter Alternatives like:
AdDuplex (included with the release as a NuGet package)
Inmobi
Smaato
Google AdMob
MobFox
Inneractive
After you can use an AdRotatorV2 for Windows Phone (https://github.com/Adrotator/AdrotatorV2) which allows you so show different ads and also home made ads.
Personally I use PubCenter and AdDuplex.
You can submit your app into differents advertising such as Smatoo or ad Exchanges like adDuplex.
An ad exchange is a marketplace which allows buying and selling advertisements online in real time. The ad exchanges allow applicants spaces (eg advertisers or agencies) and suppliers, comparing real-time supply and demand advertising and automate the buying and selling spaces publicitaires.Ils also allow, once the defined criteria, almost completely automate the implementation of campaigns.
You can also use Adrotator which allows you to change advertising rule if it does not send you any advertisements. Hope this help you.
I think other ad providers will make sdk for Windows 8 apps once the platform gets more succes. Pubcenter will have to fix things or developers will flock away. Microsoft knows this I suppose...
There is an promotion platform http://adshufflr.com. It shows advertisement, when Pubcenter fails to provide ad.
The best part: only 2 line changes are required to add this network as fallback.
For every 10 ads displayed in your app, you get credit for 9 ads. Which is used in promoting your app.
This all i can say as i am using AdShufflr. Started seeing increase in app downloads

Titanium accounts, costs and releasing an app [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
This is my very first post in Stackoverflow, but I've found this site very useful.
Here is my first question.
I've been searching the web for an answer for a while now. I've contacted Titanium and no luck.
Why should users have an account with Titanium?
Do you have to buy another account than "FREE" to be able to use full Titanium functionality?
Do you have to buy an account to be able to release your app?
Thanks in advance.
The Titanium framework is free and open source. You do not need to be a premium user to build apps with the Titanium framework and/or distribute the apps.
The only reason you may want to be a Titanium premium user is for dedicated support and the Ti+ Modules. There is a forum where you can get support and of course stackoverflow (all for free)! The Ti+ modules extend the core functionality of Titanium with for example in-app payments. You can of course write your own module if you know a little Objective-C to get around this.
Bottom line is, i've found it more than superb for building a large majority of apps I've had to build and i'm not a premium user. The documentation is sound. And for in-app payments I've rolled my own module, which I am going to open source in the next few weeks.
Leon from what I've been told a Titanium account is for fast support. A recent tweet from the team suggest they are not getting the number of sales they'd like due to current high pricing. I haven't personally distributed an app but I can't imagine an account would be required especially since you can build for the device straight from xCode or command line if needed using the build/ folder. I'm sure some other people here will have some better advice then me in this category but I hope this helps.