forked from cafebazaar/CafebazaarUnity
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from AminSojoudi/master
bug fix: calling a method on a null iabHelper or service connection
- Loading branch information
Showing
11 changed files
with
145 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Android CI | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: JavaPlugin | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '11' | ||
distribution: 'temurin' | ||
cache: gradle | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
- name: Build with Gradle | ||
run: ./gradlew build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
JavaPlugin/.idea/ | ||
JavaPlugin/local.properties |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
JavaPlugin/src/main/java/com/bazaar/BazaarUnityCallbacks.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.bazaar; | ||
|
||
public class BazaarUnityCallbacks { | ||
|
||
public static final String BILLING_SUPPORTED = "billingSupported"; | ||
public static final String BILLING_NOT_SUPPORTED = "billingNotSupported"; | ||
public static final String QUERY_INVENTORY_FAILED = "queryInventoryFailed"; | ||
public static final String QUERY_INVENTORY_SUCCEEDED = "queryInventorySucceeded"; | ||
public static final String QUERY_SKU_DETAILS_FAILED = "querySkuDetailsFailed"; | ||
public static final String QUERY_SKU_DETAILS_SUCCEEDED = "querySkuDetailsSucceeded"; | ||
public static final String QUERY_PURCHASES_FAILED = "queryPurchasesFailed"; | ||
public static final String QUERY_PURCHASES_SUCCEEDED = "queryPurchasesSucceeded"; | ||
public static final String PURCHASE_FAILED = "purchaseFailed"; | ||
public static final String PURCHASE_SUCCEEDED = "purchaseSucceeded"; | ||
public static final String CONSUME_PURCHASE_FAILED = "consumePurchaseFailed"; | ||
public static final String CONSUME_PURCHASE_SUCCEEDED = "consumePurchaseSucceeded"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.