As a mobile app developer, how do you debug from end users' device? - hybrid-mobile-app

This is a question not related to coding. I am a junior mobile app developer with 1 year experience and have vague idea about how things really work in mobile app development industry. Recently I'm facing an issue where one particular functions works well on my device and all devices of other testers in my team, but there's one end user who keeps complaining about that function is not working on his phone. I know I can debug from any devices that I have access to (including client's device) by reading error messages on console, but how do I debug from end user's device?

Related

Are there any working methods for debugging my iOS app without Mac?

I am using Ionic for developing mobile apps. I have bought the developer license and installed my app on my phone but for some reason i can only see a blank screen. For debugging i would need a Mac computer, but unfortunately i don't have any and remote desktop also won't works because i need to connect my phone via usb.
I am really disappointed and i need to finish my app for my university thesis but Apple just can't let me do that. I would be really happy if anyone could help me because i tried some method with google, but i could only debug websites not my app.

Is it okay to use my own app from my own device which contains AdMob advertisements

I have implemented an iOS application which has AdMob advertisements in it.
As far as I know if you don't identify your device as a test device during the development phase, Google finds it out and suspends (temporarily or even permanently sometimes) your account.
My app is live on AppStore now. Can I use my own app? Since I used my iPhone as a test device before, I am a little bit worried about it.
Thanks in advance...
Once the app is in production phase and live in the app store, you can use it as any normal user would. However, you should refrain from clicking the ads multiple times as that would lead to click fraud.

Do I need an iOS device to test PhoneGap Built apps?

I'm a complete noob and figuring out all this as I go along so bear with me.
I've built an app using jQuery Mobile, used PhoneGap Build and it works totally fine on Android and I'll deploy it soon. I'm now trying to figure out the more complex steps towards getting it ready for the iOS market. I've got my developer account set up and have tested my app as built with Xcode 4.2 and Cordova.
What I'm having confusion over (well one of the things) is whether or not I need an actual iOS device in order to get the proper provisioning and certificates. Can I get those, run the package through PG Build and then test it with the Xcode iOS simulator? Must I bother my friends to give me one of their iPhones to test on?
If I'm being vague or asking this the wrong way I apologize.
I'm currently building an app for iOS using Phonegap and even though I have done some testing with a physical device I have seen that the simulator works really well. I mean it would definitely be a good idea to at least run one test of your final version on a physical device before you decide to submit, Apple and pretty much everyone else very strongly suggest that you do, but you aren't required to test on a physical device. All the provisioning and certificate stuff can be done through the Apple Developer site.
The only real reason I could see your app not getting approved relating to this topic is if there is some weird glitch that is only present on a physical device and looks fine on the simulator.
And keep in mind, though it probably won't get you disapproved I've noticed that Phonegap apps that use jQuery Mobile tend to be more glitchy on the transitions compared to when they are run on the simulator.
No you don't need an iOS device to get certificates. You can get them using OpenSSL. I created a GUI to help do just this for Windows users.
However Apple is one of the strictest in approval. It takes 8 days for them to approve an app. And they have been know to not approve apps simply because of there appearance.
Now I myself prefer to have iDevices to test apps.
http://community.phonegap.com/nitobi/topics/detailed_guide_for_setting_up_building_ios_apps_without_a_mac
http://community.phonegap.com/nitobi/topics/ios_app_rejected_advice_on_how_to_fix_it
To help with some App Rejection issues you may get when submitting the app.
https://github.com/AndiDog/phonegap-ios-tabbar-plugin
https://github.com/LinuxPhreak/iOS-Win-Signer
You will need an Apple computer to submit apps to the App Store. Apple no longer has a web based App Submission

How to submit an app with companion device to AppStore?

Background:
We are developing an application for one of our customer to go along with their device. The application by itself cannot do anything, and must be connected to the device via Wi-Fi in order to function.
Question:
Do we:
just submit the app the standard way, even though there's no way for Apple to really test the functionality of the app?
or
do we need to provide a test device to Apple to really test the functionality of the app? If so, what's the procedure for doing this?
Edit:
Apple's Not-Very-Helpful Response
While we cannot pre-approve apps, we can address compliance questions about specific App Store Review Guidelines or sections of the iOS Developer Program License Agreement (PLA). I understand that this may be a little frustrating and I apologize for any inconvenience this may cause, however, we may only answer specific questions concerning the following resources, unless the app is submitted for review so that we may test the functionality.
App Store Review Guidelines: https://developer.apple.com/appstore/resources/approval/guidelines.html
iOS Developer Program License Agreement: http://developer.apple.com/membercenter/index.action#agreements
There are a few possibilites that have been reported.
One is to submit a video of the app running with your companion device, with a complete walk-through of the app's functionality using that device.
Another is to provide a device emulator as a test mode built into the app (perhaps requiring two devices).
Another is to provide an demo account in the Review notes; and have that account wifi tunnel out to control a remote wifi device at your location, maybe with a webcam aimed at that device and viewable by Apple.
Include proper contact info for that possibility where Apple may want you to send them a sample device for evaluation.
I have the same issue: a third-party device with which the app communicates. Without the device, the app is useless. One screen with one label. I submitted the app to the store, explaining what it does and how it communicates.
The app got approved 5 days later, without Apple asking any questions whatsoever.

Test my Titanium application on multiple iPhone devices not via iTunes?

I'd like to test my application made by Titanium mobile on multiple devices.
The issue is, I do not care whatever would happen on my iphone, but not on the other iphones.
Actually, I just have only one iphone, but I need to test on more than several devices (iPhone, iPhone 4, iPad, iPod) so I now borrow some of them from my friends.
Since my friends seriously do not want me to mess their devices up, I need to do test with no trouble such as losing their applications data.
and I did some research about this, and now I understand if I import my application to their devices through the right way formally recommended by appcelerator, those devices will lose their individual data because it's implemented via my iTunes.
Is there any good way to achieve my testing ?
I would really appreciate it if anyone show the way.
Many thanks in advance.
You should try out the Ad Distribution:
With Ad Hoc distribution you can share your application with up to 100
other iPad, iPhone, or iPod touch users. Through email or by posting
it to a website or server, users can download and install your app.
or check out TestFlight
A free testing service for mobile developers, managers and testers.

Resources