Coder Social home page Coder Social logo

kinecosystem / kin-sdk-unity Goto Github PK

View Code? Open in Web Editor NEW
20.0 9.0 12.0 14.53 MB

This SDK is now deprecated and is replaced by the Kinetic Unity SDK.

Home Page: https://developer.kin.org/docs/developers/unity

License: Other

Java 18.83% C# 63.86% C 0.02% Objective-C 4.08% Swift 12.94% Ruby 0.21% Shell 0.06%
kin unity android ios cryptocurrency kinetic

kin-sdk-unity's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kin-sdk-unity's Issues

Could not find com.github.kinecosystem.kin-sdk-android:kin-sdk-lib

when i try to build your given demo project for android i am getting this error kindly help me to resolve this issue

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':launcher:lintVitalRelease'.

Could not resolve all artifacts for configuration ':launcher:debugRuntimeClasspath'.
Could not find com.github.kinecosystem.kin-sdk-android:kin-sdk-lib:1.0.5.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/github/kinecosystem/kin-sdk-android/kin-sdk-lib/1.0.5/kin-sdk-lib-1.0.5.pom
- https://dl.google.com/dl/android/maven2/com/github/kinecosystem/kin-sdk-android/kin-sdk-lib/1.0.5/kin-sdk-lib-1.0.5.jar
- https://jcenter.bintray.com/com/github/kinecosystem/kin-sdk-android/kin-sdk-lib/1.0.5/kin-sdk-lib-1.0.5.pom
- https://jcenter.bintray.com/com/github/kinecosystem/kin-sdk-android/kin-sdk-lib/1.0.5/kin-sdk-lib-1.0.5.jar
- file:/C:/Users/Brothers/Documents/GitHub/kinland/Temp/gradleOut/unityLibrary/libs/kin-sdk-lib-1.0.5.jar
- file:/C:/Users/Brothers/Documents/GitHub/kinland/Temp/gradleOut/unityLibrary/libs/kin-sdk-lib.jar
Required by:
project :launcher > project :unityLibrary
Could not find com.github.kinecosystem.kin-sdk-android:kin-backup-and-restore-lib:1.0.5.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/github/kinecosystem/kin-sdk-android/kin-backup-and-restore-lib/1.0.5/kin-backup-and-restore-lib-1.0.5.pom
- https://dl.google.com/dl/android/maven2/com/github/kinecosystem/kin-sdk-android/kin-backup-and-restore-lib/1.0.5/kin-backup-and-restore-lib-1.0.5.jar
- https://jcenter.bintray.com/com/github/kinecosystem/kin-sdk-android/kin-backup-and-restore-lib/1.0.5/kin-backup-and-restore-lib-1.0.5.pom
- https://jcenter.bintray.com/com/github/kinecosystem/kin-sdk-android/kin-backup-and-restore-lib/1.0.5/kin-backup-and-restore-lib-1.0.5.jar
- file:/C:/Users/Brothers/Documents/GitHub/kinland/Temp/gradleOut/unityLibrary/libs/kin-backup-and-restore-lib-1.0.5.jar
- file:/C:/Users/Brothers/Documents/GitHub/kinland/Temp/gradleOut/unityLibrary/libs/kin-backup-and-restore-lib.jar
Required by:
project :launcher > project :unityLibrary

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 7s
]
stdout[

Configure project :launcher
WARNING: The option 'android.enableR8' is deprecated and should not be used anymore.
It will be removed in a future version of the Android Gradle plugin, and will no longer allow you to disable R8.
]
exit code: 1
UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <3746c56c485a40cda2a56050de658f5e>:0)
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <3746c56c485a40cda2a56050de658f5e>:0)
UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <3746c56c485a40cda2a56050de658f5e>:0)
UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action1[T] progress, System.String error) (at <3746c56c485a40cda2a56050de658f5e>:0) UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action1[T] progress) (at <3746c56c485a40cda2a56050de658f5e>:0)
Rethrow as GradleInvokationException: Gradle build failed
UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at <3746c56c485a40cda2a56050de658f5e>:0)
UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <3746c56c485a40cda2a56050de658f5e>:0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <3746c56c485a40cda2a56050de658f5e>:0)
Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown.
UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message, System.Exception ex) (at <3746c56c485a40cda2a56050de658f5e>:0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <3746c56c485a40cda2a56050de658f5e>:0)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <3746c56c485a40cda2a56050de658f5e>:0)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <3746c56c485a40cda2a56050de658f5e>:0)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at :0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

PostProcessor.cs missing reference when IOS Module not installed

Hi.
There is an error with PostProcessor.cs when The ios Module (unity) is not installed.

Error : Assets\Kin\Editor\PostProcessor.cs(5,19): error CS0234: The type or namespace name 'iOS' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)

Solution :
To solve the issue add #if UNITY_IOS at the start of the script and #endif on the end so it will only work when IOS module is installed.

A few issues, and a request for help.

There are a few issues where your examples on github here are not correctly capitalized and can cause confusion. "kinClient.getAccount" is one of them, I saw more but might be in the kin android sdk section. Also, in this unity section, you describe an "account.Activate" but I wasn't able to find that method, so was that removed from the sdk? I also couldn't find it being used on the demo example included in the unity asset.

Now, I am pretty new with unity and development in c# in general, so this is not an issue but more like a plea for help. I was able to get the demo working, but of course I wanted to take all the pieces I need from the demo and incorporate it into a class for my project, but I was not able to get it to work right. I could see my public wallet address, etc but I was not able to get the Wallet Balance, nor was I able to send anything, nor was I check the status of the account. I ran the code, and it seems as if I'm not getting the callback reply. I enabled the listeners also, but get nothing back. And if I run the code again, I get an exception that the command is still in flight... I have checked and seem to have everything that was in "KinDemoUI" but I didn't use anything from "KinDemoUIBase" since I assumed that only dealt with the gui interface. What did I miss?

Also, is there a way to check the blockchain to see if we were able send/receive the transactions?

KinDemoScene - onboarding bad request error, other api calls do not return errors, but just nulls

So I have downloaded the unity plugin and opened up the demo scene (no change in the code). I have also updated the gradle template according to the instructions.

However, when I try to run the scene, the connecting to service provider message does not change.
image

This is true even with my firewall turned off, or building and running on a test android device.

Clicking create account does not generate any json, or return any error.

Clicking create account under onboarding shows a bad request error:
image

I have also posted the issue on stackoverflow, which has more details on custom code I wrote to test the plugin, with similar results.

I have attached the gradle file i'm using in txt format for reference....
mainTemplate.gradle.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.