update iOS app remotely without review process - ios

What are the thing we can add it to remote server that on further after app is on app store if there is any changes in app it does not require to follow the whole submission and review process ?
Please give your suggestion to make app maximum updatable without review process.

You can download data, which would include new graphical elements.
The guidelines say, "Apps that download code in any way or form will be rejected". However, apps that use HTML and Javascript for some of their logic are typically able to replace those.
Perhaps you would get better answers by starting with a list of the things you'd like to be able to change and see if there are ways to accomplish them.

Related

How can my app programatically fetch all of it's console logs? [duplicate]

This question already has answers here:
Can I get console logs from my iPhone app testers?
(2 answers)
Closed 3 years ago.
I am looking for a way to programatically pull all of my application logs that are shown in console.
.
I DO NOT WANT to just be able to see them, so using xcode as a preview will not work for me.
What I want is my users to be able to send me those logs along with feedback any time since app is in beta phase and plain user explanations are not good enough for proper debugging at my end.
So, what I DO WANT is some iOS analogy for Android's logcat command which is being used somehow like this:
final Process process = Runtime.getRuntime().exec("logcat -d");
final InputStream inputStream = process.getInputStream();
... then you manipulate the stream into whatever you need to do with it, in my case, to create a String object that i would pass on to my log service.
SO FAR in my investigation I was only being able to find this option, but I would appreciate if something easier to integrate into Swift app is available.
Also, os.log module is used for logging, but I wasn't able to find an option where it allows loading the logs. Or my understanding of the following explanation found HERE is not good enough:
Use the Console app or the log command-line tool to view and filter log messages.
EDIT:
END USER SHOULD NOT INTERRACT WITH LOGS in any way other than just clicking the submit button while switch for debug logs is ON.
So #matt NO - this is not the duplicate of the linked issue.
End users should NOT have to download something else too in order to be able to feed me with my own app logs.
That is a classic killer of user experience and should not even be approved as a solver on the linked post either.
To your last point. That explanation is telling you to connect your phone to a mac and use the "Console" application (or command line tool) to extract the console logs e.g. https://support.apple.com/en-ie/guide/console/welcome/mac
The first link you have provided (using ASL) is the only solution I'm aware of to do this natively. 2 other options would be:
Use a server/cloud based analytical/event tracking system to log messages for each user. If someone sends an issue you can search the logs to see what happened. (Be careful about storing personal information though).
You could write your own class / function that takes in a string, and writes it to a text file and logs it to the console. During development you will see it in the console and in the wild it will store it. When you want the details, you could just read the text file and upload it. Need to be careful of it growing too big. And again depending on where its stored, personal data could be an issue.
I've always used option 1. There are many free services to do this and lots of solutions for releasing apps to test users provide this out of the box too. Microsofts AppCenter being one, and I believe is free unless you want CI/CD

Anonymous contact form iOS app

I currently work at a school and have an idea to create an app that allows students to contact a grown up (for example, the principle) anonymously through an app. The app would quite simply consist of a contact form. I am trying to find out the best, and easiest way to achieve this without setting up servers with a separate API. Does anyone have a suggestion on how to achieve it? Is there any way to set up an e-mail form with a pre set recipient and a built in sender-account? Please guide me in the right direction.
You would need to implement an SMTP client. You can use open source code like skpsmtpmessage
It's likely that their example app could be your solution.
Your biggest problem will be the deployment. You definitely need to pay an $99/y developer account and add all the students device ID's to your account (with a maximum of 100 devices/y) or register all of them as beta tester (I don't know the limitations).
Probably this isn't doable so easily, as it seems you don't have iOS developing experience so far. Maybe you can find something on the app store that works with self hosted databases. But you definitely need to host some kind of webApp/API.
You may want to give Appygram a try to handle the back-end if you are able to set up the contact form itself. While it's a separate hosted API, at least you don't have to build/manage it.
Appygram is a free web service that would allow you to configure all the details such as which adults could be contacted, their point(s) of contact (i.e. email address), and it would process and send all the submissions for you. All your app needs to do is send a form post request.
A nice thing about having this information outside of the iOS app itself is that you can change the contact details on the fly without requiring an update to the iOS app itself. Whether you use Appygram (which, since I contribute to it, I am slightly biased toward!) or something similar, I would say that since this is for students, I would recommend a solution that would allow you to update your configuration without requiring app updates.
Finally, I'd second what Julian said. The challenge here could be with deployment. One possible alternative would be to make this a mobile-friendly web page accessible only via student login or on the school network (or both). Would probably be easier development-wise and wouldn't require installs nor the hurdles that Julian described with device registration, etc. And, Appygram would still work with this setup as well.
Good luck!

iOS phonegap app built mainly on AJAX calls

I am thinking about architecture of my new iOS app. I don't know how much of the parts of the app build as native parts of the app and how much dynamically loaded via AJAX calls.
For example admin area. I can create all the admin area as native part and load only data via AJAX. But If I want to add another form field later I will have to publish update of the application. I can avoid this by loading all the admin area via AJAX calls (not only data but also HTML structure). It would be very flexible. But it would increase amount of transferred data and I don't know if this is acceptable for Apple.
Is this structure of highly AJAX called app okey for Apple?
Thanks.
I think you don't need worry because my app has same structure than you, it loads some data via AJAX and I had no problems on App Store.
You actually can build an app like so, but this would result in a higher download for your users later on.
I agree that building an app in that way might be a solution to stop going past Apple for every update.
Kind regards,

iOS multi module application

Is it possible to create a business application (not public, like other public application in the app store) which will have a multiple dynamic modules, i don't want to keep this modules inside the app, instead i want to download it through network based on user role, save it on file system and load it dynamically, and for next time load it from file system. Is it possible also to use a In app purchase to take some fee for this module?
The iOS security model is designed to prevent you from executing code that was downloaded off the internet. Windows/Mac/Linux have had huge security problems because of their ability to execute any code presented to them, and iOS is designed from the ground up to prevent it.
Jail breaking completely disables all that security, and if you have an Enterprise developer account you'll be able to punch a few very small holes in it...
But generally, no — what you're trying to do is not possible unless the modules are written in javascript and executed by the built in WebKit engine.
You'll just need to compile it into the app. If you've got an enterprise account, then you can check for a new version on every launch and force the user to install the latest version before they can use it (create an xml file describing the new version and with a URL to the actual ipa file, tell the system to open the URL to the xml file, the user will be asked to confirm the app install, and then it will install itself).
With regard to in-app purchases, I don't think so. You'll just have to set a price low enough nobody will hesitate to buy it twice.

iOS Creating a User Manual for an App

I need to add a User Manual for my App, although all the user manual examples I have seen are web-based, which is convienent because it allows you to update the documentation without updating the app but also inconvient if the user is in a off-line mode.
What I envision in a helpful usermanual would be a popovercontroller that would display relevant data to whatever the current view has. It would retrieve documentation from the web and save it for later reference. Maybe even something that could take a document and break it into a plist by tag. Including gaphics would be nice also.
Are there any frameworks do to this available? ..... Or am I going to have to write my own.
How have other people implemented user manuals?

Resources