Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactory and add support platform #28

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

Valeryn4
Copy link

preparing for godot 3.5

Removed unused include.
Removed not working include. (core/platform)
Add optional flag "sdk_version", set minimum sdk version target
Add support for tvOS.

Still being tested...

example

# ./scripts/releasexcframework.sh iphone 3.x
# ./scripts/releasexcframework.sh tvos 3.x
# ./scripts/releasexcframework.sh iphone 4.0
# ./scripts/releasexcframework.sh tvos 4.0

Valeryn4 and others added 8 commits April 21, 2021 17:49
simple relese promoting purchace: https://developer.apple.com/app-store/promoting-in-app-purchases/

copy to my old code, from : https://github.com/Valeryn4/Godot-IOS-Services-Extend-Module/tree/dev

add new event "purchase_deferred"
initializing an out-of-game purchase

sample:
```gdscript
while iap.get_pending_event_count() > 0:
		var event = iap.pop_pending_event()
		if event.type == "purchase_deferred" :
			iap.purchase( { "product_id": event.product_id} ) #deferred purchase
```

Update README.md

Revert "support promouting purchaces"

This reverts commit 6f90954.

Revert "Revert "support promouting purchaces""

This reverts commit 205cd9e.

Revert "Update README.md"

This reverts commit a106831.

remove store module and revert commits
tvOs xcframework enabled!

submodules

fix

tvOS
remove path 'core/platform',
remove unused paths
add tvos platfom
add flag optional sdk_version - minimum sdk version target
add argument on scripts
@@ -231,6 +231,15 @@ - (void)finishTransactionWithProductID:(NSString *)productID {
self.pendingTransactions[productID] = nil;
}

- (BOOL)paymentQueue:(SKPaymentQueue *)queue shouldAddStorePayment:(SKPayment *)payment forProduct:(SKProduct *)product {
Copy link
Author

@Valeryn4 Valeryn4 Jan 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops...
Accidentally sent this development. Its deferred purchase.

The event is used when a purchase has been initiated outside of the app.

@256ArtsDeveloper
Copy link

Any update on tvOS support?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants