Home Changing Fabric App Identifier from Code(Swift iOS)
Reply: 0

Changing Fabric App Identifier from Code(Swift iOS)

user715
1#
user715 Published in April 19, 2018, 9:56 am

For Android in Fabric, there is an option to change the app Identifier while building the Fabric instance. I want to use this functionality for separating analytics based on User role(like Employer,Customer ...).

Following is the code in Android:

Fabric.Builder builder = new Fabric.Builder(ApplicationGlobal.getContext())
                .appIdentifier(BuildConfig.APPLICATION_ID + ".employer")
                .kits(new Crashlytics());
        Fabric.with(builder.build());

Here as soon as login, based on the role fabric is built.

In iOS there is no Builder class for achieving this. How to provide app Identifier to Fabric in runtime in iOS?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.498697 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO