Skip to content
This repository was archived by the owner on Apr 8, 2021. It is now read-only.
This repository was archived by the owner on Apr 8, 2021. It is now read-only.

Sharing to Custom Activity causes BAD_ACCESS #178

@rlustemberg

Description

@rlustemberg

When the completion callback is executed, and the 'complete' event is fired, [self ACTIVITY_CUSTOM] is passed as the activity key to the event before being instantiated.

 NSString *activity = activityType;
      if ([activityType rangeOfString:@"com.apple.UIKit.activity"].location == NSNotFound) {
        activity = [self ACTIVITY_CUSTOM];
      }

      NSDictionary *event = @{
        @"success" : @YES,
        @"platform" : @"activityView",
        @"activity" : activity,
        @"activityName" : activityType
      };
      [self fireEvent:@"complete" withObject:event];

I'll provide a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions