Giter VIP home page Giter VIP logo

extension-gpgrest's People

Contributors

agvadillo avatar fbricker avatar jgranick avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

ramsestom

extension-gpgrest's Issues

missing dependency

On android or ios, fails with message:
C:/HaxeToolkit/haxe/lib/extension-gpgrest/1,0,1/Source/com/sempaigames/gplayrest/Auth.hx:4: characters 7-32 : Type not found : extension.webview.WebView
assume this is this https://github.com/openfl/extension-webview dependency that is missing...

crash on android

On android, crash with the error message:

I/trace ( 4388): WebView.hx:72: INIT Exception: JNI Exception
I/trace ( 4388): Lib.hx:360: Null Function Pointer
I/trace ( 4388): Called from extension.webview.WebView.open (extension/webview/WebView.hx line 34)
I/trace ( 4388): Called from com.sempaigames.gplayrest.Auth.getAuthCode (com/sempaigames/gplayrest/Auth.hx line 86)
I/trace ( 4388): Called from com.sempaigames.gplayrest.Auth.loginUsingAuthCode (com/sempaigames/gplayrest/Auth.hx line 214)
I/trace ( 4388): Called from com.sempaigames.gplayrest.Auth.login (com/sempaigames/gplayrest/Auth.hx line 252)
I/trace ( 4388): Called from com.sempaigames.gplayrest.GooglePlayGames.displayScoreboard (com/sempaigames/gplayrest/GooglePlayGames.hx line 57)
I/trace ( 4388): Called from extension.multigames.Multigames.displayLeaderboard (extension/multigames/Multigames.hx
line 98)
I/trace ( 4388): Called from ui.MainMenuState.click_leaderboard (ui/MainMenuState.hx line 146)
I/trace ( 4388): Called from openfl._legacy.events.EventDispatcher.dispatchEvent (openfl/_legacy/events/EventDispatcher.hx line 98)
I/trace ( 4388): Called from openfl._legacy.display.DisplayObject.__dispatchEvent (openfl/_legacy/display/DisplayObject.hx line 182)

I checked parametters received by the WebView.open() function called from Auth.getAuthCode() and the urlWhitelist is NULL. Don't know if that might be the cause of the problem or if this is actually a JNI binding issue in the webview extension (wich I succeded to make work once on android and there doesn't seem to be any update since so I don't think the problem is on the webview extension)

Openfl next incompatibility

Can't compile with openfl next mode:

C:/HaxeToolkit/haxe/lib/extension-gpgrest/1,0,1/Source/com/sempaigames/gplayrest/ui/BmpD
ataCache.hx:47: characters 14-38 : Class has no field loadFromBytes
C:/HaxeToolkit/haxe/lib/extension-gpgrest/1,0,1/Source/com/sempaigames/gplayrest/ui/UrlB
mp.hx:71: characters 29-53 : Class has no field loadFromBytes
C:/HaxeToolkit/haxe/lib/extension-gpgrest/1,0,1/Source/com/sempaigames/gplayrest/ui/BmpD
ataCache.hx:60: characters 27-32 : String should be openfl.geom.Rectangle
C:/HaxeToolkit/haxe/lib/extension-gpgrest/1,0,1/Source/com/sempaigames/gplayrest/ui/BmpD
ataCache.hx:60: characters 27-32 : For function argument 'rect'
C:/HaxeToolkit/haxe/lib/extension-gpgrest/1,0,1/Source/com/sempaigames/gplayrest/ui/Prog
ressBmp.hx:94: characters 39-47 : Float should be Null
C:/HaxeToolkit/haxe/lib/extension-gpgrest/1,0,1/Source/com/sempaigames/gplayrest/ui/Prog
ressBmp.hx:94: characters 39-47 : Float should be Int
C:/HaxeToolkit/haxe/lib/extension-gpgrest/1,0,1/Source/com/sempaigames/gplayrest/ui/Prog
ressBmp.hx:94: characters 39-47 : For optional function argument 'size'

no issue when compiling with openfl legacy mode though.

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.