I'm integrating Passlot in my app for wallet integration. I'd created new pass type id and added it in Passslot.
I'd created a pass template for type - boarding pass as below,
And in my app, i'm creating the pass with the above template and a dictionary with values,
NSDictionary *values = [NSDictionary dictionaryWithObjectsAndKeys:
@"14", @"gate" ,
@"India", @"depart" ,
@"UAE", @"arrive" ,
@"2:25 PM", @"boardingTime",
@"Air India", @"flightNewName" ,
@"first", @"class",
@"7/22", @"date" ,
@"name", @"passenger",nil];
[PassSlot createPassFromTemplateWithName:@"Sample" withValues:values andRequestInstallation:self completion:^{
NSLog(@"Created");
}];
The pass is created, but the values that I'm passing are not there in the pass. It's showing the default values in the pass template.
I'm passing the values in the dictionary input. why it's not coming?
How can I solve it? Please guide me on this.