Coder Social home page Coder Social logo

Comments (8)

appcelerate avatar appcelerate commented on August 20, 2024

+1

from amplitude-ios.

djih avatar djih commented on August 20, 2024

Hi @mbalex99 , you're saying if you comment out Amplitude.instance().initializeApiKey then it works? Does that mean you're trying to initialize it with a nil userId?

from amplitude-ios.

djih avatar djih commented on August 20, 2024

@appcelerate care to comment ^ ?

from amplitude-ios.

mbalex99 avatar mbalex99 commented on August 20, 2024

No there's a userId.

This seemed to crash 50% of the times I ran the app. However as soon as I commented out Amplitude.instance().initializeApiKey

The errors no longer happen.

from amplitude-ios.

appcelerate avatar appcelerate commented on August 20, 2024

Hi @djih,

i initialized it with

[[Amplitude instance] initializeApiKey:@"...."];

but i will get this crash
at " dispatch_sync(_queue, ^() {" line 147 in FMDatabaseQueue.m

with this reason:
* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[NSPlaceholderString initWithString:]: nil argument'

from amplitude-ios.

djih avatar djih commented on August 20, 2024

Yep, found the issue. Thanks for bringing this to our attention. It will be patched in the next release.

from amplitude-ios.

djih avatar djih commented on August 20, 2024

bde59ab will be included in the next release

from amplitude-ios.

djih avatar djih commented on August 20, 2024

Patch is released with v3.2.0: https://github.com/amplitude/Amplitude-iOS/releases/tag/v3.2.0 please update your pod file

from amplitude-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.