RatePromptHandler_ios.mm 418 Bytes
//
// Created by Katarzyna Kalinowska-Górska on 2020-01-21.
//

#include "RatePromptHandler_ios.h"
#import <StoreKit/StoreKit.h>

void ratePromptHandler_nativePresentPromptIfApplicable(){
    if (@available(iOS 10.3, *)) {
       [SKStoreReviewController requestReview];
    }
}

void handler_nativeExitGame() {
    [[NSNotificationCenter defaultCenter] postNotificationName:@"_kwowgamecocosexitgame" object:nil];
}