For the subscription API, we’re using the Get All Subscription Statuses API to replace the deprecated verifyReceipt method. To determine if a user has canceled their subscription, we’re using the expirationIntent key from JWSRenewalInfo data. However, we’ve noticed that we sometimes receive this key and other times not.
We’re also facing an issue with the offertype key. We use this key to determine if a user is currently in the introductory offer, the promotion offer, or neither. To obtain this key, we’re using JWSTransaction, but we occasionally receive it and other times not.
Note: These issues are being tested in the sandbox environment.
Thank you.
Post
Replies
Boosts
Views
Activity
Device Info:-
Bluetooth version: - 4.0
Communication Protocol: UART 3.3V TTL
Device is Weight Scale
We already tried using their mac address .but as per our knowledge we are unable to do that using core Bluetooth.
we are attaching Bluetooth device service and characteristics here.
Are we able to connect this Bluetooth Device using Core Bluetooth?
*
*
Recently I tried to submit an app for review and selected 3rd option under "Version Release" section to release my app, i.e Automatically release this version after App Review, no earlier than
Date of submission: May 4, 2022
Here I selected May 6, 2022, to automatically release my app but I couldn't get to save those settings and submit my app for review.
I have attached a screenshot of the error in network logs when trying to save with the above settings.
I want to test Siri in Simulator, but type my commands instead of speak.
I am developing an app that provides music to listen and also support CarPlay audio app. Now I also want to provide Siri support with CarPlay app. But I am not able to test it using Simulator by typing my App Specific Vocabulary.
I am developing this app using Xamarin platform.
I have already created a function to fetch active energy data from HealthKit. But if I try to fetch records of 1 year with multiple active energy records per day, the app hangs and in some cases App does crash and I don't get any data.
I couldn't find any other way to access the summary day values for Active Energy from Apple HealthKit.
Below is my code for getting Active Energy from HealthKit.
func getActiveEnergy(startDate : Date) {
		var startingDate = startDate
		
		HealthKitSetupManager.getActiveEnergy(date: startDate, withSuccess: { (isSuccess, error) in
				if isSuccess {
						print("Active Energy Fetch")
				}
				
				startingDate = NSCalendar.current.date(byAdding: .day, value: 1, to: startDate) ?? Date()
				
				if startingDate <= Date() {
						self.getActiveEnergy(startDate: startingDate)
				} else {
						self.getSickNumber(startDate : self.globalDate)
				}
		})
}
HealthKitSetupManager.swift
class func getActiveEnergy(date:Date, withSuccess: @escaping(Bool,String?) -> Void) {
		
		let healthKitStore = HKHealthStore()
		if let energyType = HKQuantityType.quantityType(forIdentifier: HKQuantityTypeIdentifier.activeEnergyBurned) {
				
				let calendar = NSCalendar.current
				var components = DateComponents()
				components.day = 1
				
				let eDateString = date.getFormattedString(format: DateFormateString.MM_dd_yyyy)
				let eDate =	eDateString.getFormattedDate(inFormate: DateFormateString.MM_dd_yyyy) ?? Date()
				let endDate = calendar.date(byAdding: components, to: eDate) ?? Date()
				
				let predicate = HKQuery.predicateForSamples(withStart: date, end: endDate, options: .strictStartDate)
				
				let updateHandler = HKStatisticsQuery(quantityType: energyType, quantitySamplePredicate: predicate, options: .cumulativeSum) { (query, sample, error) -> Void in
						
						if error != nil {
								withSuccess(false,error?.localizedDescription ?? "")
								return
						}
	
						if let sample = sample {
								let energy = sample.sumQuantity()?.doubleValue(for: HKUnit.kilocalorie()) ?? 0.0
								print(endDate, "->", energy)
								withSuccess(true, nil)
								return
						} else {
								withSuccess(false, nil)
								return
						}
				}
				healthKitStore.execute(updateHandler)
		}
}