One bundle identifier in Crashlytics for multiple apps - ios

I have a whitelabeled app and every customer's app has its own unique bundle identifier. This causes Crashlytics to flood with different apps which potentially could have the same crash report. I would like to have it all grouped under one app, so it's easier to maintain.
I know there's a solution for Android (https://gist.github.com/tyvsmith/6188014), but couldn't find anything for iOS.
Does anybody know if this is possible for iOS and if so, how can I do this?

Mike from Fabric here.
Currently, there isn't a way to do this on iOS for Fabric. I'll let the team know you'd like to see it added in.

I have the same situation, and I've confirmed with testing today that Crashlytics forces me to have a separate app in their system for each of my customers. I suspect with Firebase/Google integration this will not change as they'll be offering a complete app framework (just as the transition from Xamarin Insights -> HockeyApp -> Microsoft Mobile Center). I reviewed the alternatives today; Raygun.com has had long-standing support for Xamarin and the only association between your app and Raygun is a text key, and it works with or without the dSYM files. So far so good!

Related

What's the most straightforward way to share an iOS app development build?

I'm developing a mobile app (using React Native for that matter), and I'd like to have one of the members of my team try it out.
With Android, I can just share the apk with them. Is there something similiar in iOS?
There is a bunch of tools to do this. Test Flight is not the easiest way to share a build because you need to submit it to the app store, it needs to be processed, pass through all the checks before someone can download it.
Whilst you should definitely use Test Flight to deploy official test versions, an internally used tool for alpha and beta versions is quicker and easier.
I would suggest a tool like Fabric Beta (currently owned by Google), which is a free app deployment + analytics tool. you will need to add some code to allow it to work but it is a simple process. It comes with a program to help deploy and you can plug it into most CI software.
You will need to ensure you have the device UUID's of people in your internal team to sign the application for their devices.
Test Flight is what you're looking for.
First though you need to add the UDID of your team member's device to the provisioning profile used to create the .ipa (iOS equivalent of an APK). But after that, just follow the information and tutorial(s) at the provided link.

Block app install from AppStore and app delete using Swift

I am aware that we can block safari content using swift code. I am interested in finding out if we can restrict install of certain apps from AppStore using similar approach ?
Also, is it possible if we can restrict a user from deleting the app from device (not from phone settings but from code) ? Even if Apple does not allow that to publish such app, I am looking for a solution as a part of research.
There are two things you mentioned.
First, can restrict install of certain apps from AppStore
Using Swift code I feel there are no Public API provided by Apple for the developer till now but there is a similar way that is called Device Enrollment Program.
The Device Enrollment Program (DEP) is part of the Apple Deployment
Programs (ADP), which help businesses and educational institutions
easily deploy and configure iOS and OS X devices. DEP provides a fast,
streamlined way to deploy institutionally owned iPad and iPhone
devices and Mac computers that are purchased directly from Apple or
participating Apple Authorized Resellers or carriers.
For more visit this developer guide.
Second: restrict a user from deleting the app from device
Same response for that, till now no Developer API, but lets say if we see this as a part of research and we develop some POC still, it does not make sense for me at all (It's my device and I install the app for making my life easy and better if I don't want to use it anymore, I need an option to delete it) and I don't think so this will be possible in future as well because the USP for iOS device is user experience and we can't make this like that.
I also want to hear something from others and if possible give the use case why you are looking a solution like that.
I hope this will help.

iOS app distribution without AppStore

I need to publish my iOS app without using the AppStore to my final users, so I'm minding how StackExchange doing for its app: https://mobile.stackexchange.com/ios
I found this http://gknops.github.io/adHocGenerate/ and I think is the correct way.
I know that I'll miss all AppStore related features and I have to handle the app upgrade "manually", but is not a problem. What are other side effects/limits if any?
Can I use this way for production publishing without problems? Do I need to register the clients UDID to let them install the app? I can't know them...
If this is not appropriate for SO please guide me to another SE site.

Is it possible to distribute using Testflight and crashreport with crashlytics

I am using testflight to distribute a beta of my app and sometimes having issues logging in to the websites. I want to try crashlytics but i read that there some issues with using both at the same time. Can i not include testflight SDK and still be able to distribute beta using it? Is that a normal practice or i should just stick to one? What about using hockeyapp for both?
Also for people that use crashlytics do you ask the user first to allow sending crash reports.
PS if this question is not approriate for stackoverflow please let me know where with stackexchange
Thank you in advance!
Wayne from Crashlytics here. Crashlytics is compatible and you shouldn't have any worries. For support you can contact at support.crashlytics.com.
You do not need to use the testflight SDK to distribute with testflight, so remove that and use ccrashlytics.
You can ask them before they become the beta user, you dont need to ask each time. If you put that code into production, then you should ask every time before sending.

Programmatically getting Crash Reports inside an iOS app

I want to access the crash reports of my app inside my app and i need to send the crash reports to a server. I searched in google and I couldn't find any API that helps my purpose but I found there are open source projects like QuincyKit, plcrashreporter for getting the crash reports of the application. If I use these APIs will apple reject my app ?
Thanks in Advance
There is no API from Apple to do that. So the only chance is to use a 3rd party framework which catches the crash when it happens and provides options to further process it afterwords.
There are multiple solutions available, one is QuincyKit. The second part of the answer of Including custom data into iOS crash dumps shows all known solutions and services that you can use.
Note: I am the developer of QuincyKit and also part of the HockeyApp team.
About QuincyKit:
I've used only Flurry, which has crash collection, and there seems to be no problem in using these libraries in your project for the app store.

Resources