Code Monkey home page Code Monkey logo

vk-ane's People

Contributors

kavolorn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

vk-ane's Issues

App crash when turned off Wi-Fi

03-26 18:07:38.647 D/ru.kavolorn.ane.VK: ru.kavolorn.ane.VKExecuteFunction$1.onError() Is being executed. Error code is -105
03-26 18:07:38.655 D/AndroidRuntime(24478): Shutting down VM
03-26 18:07:38.655 W/dalvikvm(24478): threadid=1: thread exiting with uncaught exception (group=0x40015610)
03-26 18:07:38.663 E/AndroidRuntime(24478): FATAL EXCEPTION: main
03-26 18:07:38.663 E/AndroidRuntime(24478): java.lang.NullPointerException
03-26 18:07:38.663 E/AndroidRuntime(24478): at ru.kavolorn.ane.VKExecuteFunction$1.onError(VKContext.java:110)
03-26 18:07:38.663 E/AndroidRuntime(24478): at com.vk.sdk.api.VKRequest$2.run(VKRequest.java:417)
03-26 18:07:38.663 E/AndroidRuntime(24478): at android.os.Handler.handleCallback(Handler.java:587)
03-26 18:07:38.663 E/AndroidRuntime(24478): at android.os.Handler.dispatchMessage(Handler.java:92)
03-26 18:07:38.663 E/AndroidRuntime(24478): at android.os.Looper.loop(Looper.java:130)
03-26 18:07:38.663 E/AndroidRuntime(24478): at android.app.ActivityThread.main(ActivityThread.java:3703)
03-26 18:07:38.663 E/AndroidRuntime(24478): at java.lang.reflect.Method.invokeNative(Native Method)
03-26 18:07:38.663 E/AndroidRuntime(24478): at java.lang.reflect.Method.invoke(Method.java:507)
03-26 18:07:38.663 E/AndroidRuntime(24478): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
03-26 18:07:38.663 E/AndroidRuntime(24478): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
03-26 18:07:38.663 E/AndroidRuntime(24478): at dalvik.system.NativeStart.main(Native Method)
03-26 18:07:38.679 D/dalvikvm(24085): GC_FOR_MALLOC freed 547K, 53% free 2759K/5831K, external 0K/0K, paused 163ms

Purchases functionality

I think that would be impossible to get into mobile games VK catalog If we leave google payments.
So that functionality would be very useful.

invalid_client error from VK on Ios

Hello kavolorn !!! I have some troubles with VK.getInstance().authorize method. It's return to me
"error:invalid_client, error_description:client_idis incorrect" in web view on IOS and my app going to crash on some devices like Samsung Galaxy S4. Please help me to correct my actions.

i have good initialized but then it's crashed !!!

// Extension was successfully initialized
VK.getInstance().addEventListener(VKEvent.INITIALIZATION_SUCCESS, function (event:VKEvent):void
{
AppLog.tr("Initialization success:", event.message);
AppLog.tr("Current SDK version:", VK.getInstance().getSdkVersion());
AppLog.tr("Current API version:", VK.getInstance().getApiVersion());

        VK.getInstance().authorize([
            VKScope.WALL,
            VKScope.FRIENDS
        ], true, false, false);
    });

Wall post button don't post on first click.

Wall post button don't post on first click, only ask permissions.
Also get error in output:
[trace] error {"errorCode":-101,"vkErrorCode":5}

On next clicks it works fine.

Initialization error: Wrong application id.

After starting the app, an error occurs:
Initialization error: Wrong application id.

applicationId is 4620596, os: Android

debug trace:

[Starling] Initialization complete.
[Starling] Display Driver: OpenGL (Baseline Constrained)
1648 DEBUG Context-0-8a [object ExtensionInstaller] Installing extension [object VigilanceExtension]
1659 DEBUG Context-0-8a [object ExtensionInstaller] Installing extension [object InjectableLoggerExtension]
1661 DEBUG Context-0-8a [object ExtensionInstaller] Installing extension [object ContextViewExtension]
1663 DEBUG Context-0-8a [object ExtensionInstaller] Installing extension [object EventDispatcherExtension]
1665 DEBUG Context-0-8a [object ExtensionInstaller] Installing extension [object ModularityExtension]
1669 DEBUG Context-0-8a [object ExtensionInstaller] Installing extension [object DirectCommandMapExtension]
1674 DEBUG Context-0-8a [object ExtensionInstaller] Installing extension [object EventCommandMapExtension]
1678 DEBUG Context-0-8a [object ExtensionInstaller] Installing extension [object LocalEventMapExtension]
1680 DEBUG Context-0-8a [object ExtensionInstaller] Installing extension [object StarlingEventMapExtension]
1686 DEBUG Context-0-8a [object ExtensionInstaller] Installing extension [object ViewManagerExtension]
1694 DEBUG Context-0-8a [object ExtensionInstaller] Installing extension [object StageObserverExtension]
1696 DEBUG Context-0-8a [object ExtensionInstaller] Installing extension [object MediatorMapExtension]
1699 DEBUG Context-0-8a [object ExtensionInstaller] Installing extension [object ViewProcessorMapExtension]
1705 DEBUG Context-0-8a [object ExtensionInstaller] Installing extension [object StageCrawlerExtension]
1707 DEBUG Context-0-8a [object ExtensionInstaller] Installing extension [object StageSyncExtension]
1709 DEBUG Context-0-8a [object ConfigManager] Not yet initialized. Queuing config class [class ContextViewListenerConfig]
1710 DEBUG Context-0-8a [object ConfigManager] Not yet initialized. Queuing config class [class Configuration]
1713 DEBUG Context-0-8a [object ConfigManager] Not yet initialized. Queuing config object [object ContextView]
1715 DEBUG Context-0-8a [object ContextViewExtension] Mapping [object ApplicationView] as contextView
1718 DEBUG Context-0-8a [object ModularityExtension] Context has a ViewManager. Configuring view manager based context existence watcher...
1734 DEBUG Context-0-8a [object ModularityExtension] Context view is not yet on stage. Waiting...
1735 DEBUG Context-0-8a [object StageSyncExtension] Context view is not yet on stage. Waiting...
1742 DEBUG Context-0-8a [object ModularityExtension] Context view is now on stage. Continuing...
1743 DEBUG Context-0-8a [object ModularityExtension] Context configured to inherit. Broadcasting existence event...
1745 DEBUG Context-0-8a [object StageSyncExtension] Context view is now on stage. Initializing context...
1750 INFO Context-0-8a Context-0-8a Initializing...
1791 DEBUG Context-0-8a [object StageObserverExtension] Creating genuine StageObserver Singleton
1793 DEBUG Context-0-8a [object ConfigManager] Now initializing. Instantiating config class [class ContextViewListenerConfig]
1801 DEBUG Context-0-8a [object ViewManagerBasedExistenceWatcher] Adding context existence event listener to container [object ApplicationView]
1801 DEBUG Context-0-8a [object ConfigManager] Now initializing. Instantiating config class [class Configuration]
[ru.kavolorn.ane.VK] Constructing VK extension.
[ru.kavolorn.ane.VK] VK::initialize() is being executed.
[ru.kavolorn.ane.VK] VK::isSupported() is being executed.
[ru.kavolorn.ane.VK] VK::setAuthorizeParameters() is being executed.
[ru.kavolorn.ane.VK] VK::isSupported() is being executed.
3990 DEBUG Context-0-8a [object ConfigManager] Now initializing. Injecting into config object [object ContextView]
3993 INFO Context-0-8a Context-0-8a Initialize complete
3995 DEBUG Context-0-8a [object StageCrawlerExtension] ViewManager is installed. Checking for managed containers...
3996 DEBUG Context-0-8a [object StageCrawlerExtension] StageCrawler scanning container [object ApplicationView] ...
4003 DEBUG Context-0-8a [object StageCrawlerExtension] StageCrawler finished scanning [object ApplicationView]
[ru.kavolorn.ane.VK] VK::statusHandler() is being executed.
Initialization error: Wrong application id.

Wall post dialog

Can I preview wall post dialog, or only post instantly using wall.post command? If not, can you add support? It seems to be used VKShareDialog and VKShareDialogController classes from vk-android-sdk and vk-ios-sdk.

AIR 20 + VK ANE, App Store Errors: ITMS-90535, ITMS-90542

При выгрузке приложения в App Store собранного при помощи AIR 20 возникают следующие ошибки:

ERROR ITMS-90542: "Invalid CFBundleSupportedPlatforms value. The key 'CFBundleSupportedPlatforms' in the Info.plist file in bundle 'Payload/Documents for VK.app/VKSdkResources.bundle' contains an invalid value '( "iPhoneSimulator" )'. Consider removing the CFBundleSupportedPlatforms key from the Info.plist. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue."

ERROR ITMS-90535: "Unexpected CFBundleExecutable Key. The bundle at 'Payload/Documents for VK.app/VKSdkResources.bundle' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue."

Решение: VKCOM/vk-ios-sdk#277

Проблема с 'apps.sendRequest'

Привет. Такая проблема

VK.getInstance().execute({
    method : 'apps.sendRequest',
    parameters : {
        user_id : "83731989",
        text : "Hello!",
        type : "request"
    },
    complete : function(result: Object=null, request:Object=null):void {
        trace( "[VKConnection] sendRequest OK :: ", JSON.stringify(result));
    },
    error : function(error: Object=null, request:Object=null):void {
        trace( "[VKConnection] sendRequest ERROR:: ", JSON.stringify(error));
    }
});

Почему то не возвращает ни complete ни error. Окно самого реквеста открывает норм. Нажимаю подтвердить, окно закрывается а никакого результата.. Что я сделал не так?

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.