Get Device ID & Name after Setup (iOS & React Native)

This is kind of a continuation of this previous closed thread:

Has anyone gotten this full thing set up and working? Basically what I’m looking for is how to get the device ID after assigning a device to a user. My current setup:

  [self createCustomSparkSetup];

  SparkSetupMainController *setupController = [[SparkSetupMainController alloc] initWithSetupOnly:YES];
  AppDelegate *delegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
  [delegate.window.rootViewController presentViewController:setupController animated:YES completion:nil];

I can setup the devices just fine, I just need some clarity on how to get the device ID?

Figured out my issue. Can close this!

Could you explain what you did to solve this for the benefit of others that might see similar issues?


I made an identical thread about this on the spark-setup-ios github to which I detail how I went about it. You can find it here:

1 Like