Closed AmrAbedal closed 3 years ago
hello, or maybe just use an operation queue on which all calls to Mixpanel instance are queued (except the initialization call of course) and is resumed when initialization is completed so they get executed after initialization.
hi @AmrAbedal , sorry for the late response. Are you talking about the assertion that crashes the app? The intention of the assertion is to catch the issue early during the development phase and it won't crash in production. If you have a more specific use case, you are welcome to provide more information. Otherwise, I will close the issue for now.
instead of crashing the app in case that mixpanel not initialized , give us the ability to check if the main instance is already initialized .