Coder Social home page Coder Social logo

ane-parse's People

Contributors

marchbold avatar

Watchers

 avatar  avatar  avatar  avatar

ane-parse's Issues

Error occurred while packaging the application:

Build from Feathers 3.1.0 AIR 23.0 Target Andriod

Error occurred while packaging the application:


aapt tool failed:Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.

Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.

Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.

Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.

C:\Users\WINDOWS\AppData\Local\Temp\907767ed-781f-4aed-bf28-cec2d79cdd7b\AndroidManifest.xml:65: error: Error: No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version').

Make "put()" function available

In the Parse SDK for Android, there is a function "put()" in the ParseObject class. This can be quite useful for storing custom values against each installation. eg

ParseInstallation.getCurrentInstallation().put("alias", "testuser");
ParseInstallation.getCurrentInstallation().saveInBackground(new SaveCallback() {
//handle callback });

I'm not too good with Objective C, but I assume the same functionality is available in the iOS SDK.

Would it be possible to make this available in the ANE? eg in AS3: Parse.service.getCurrentInstallation().put("key", "value");
Parse.service.getCurrentInstallation().saveInBackground();

Cheers,

Martin

Push notifications - grouping notifications or suppressing them

Hi, I would like to be able to react differently to push notifications depending on the situation. If the application is currently opened, I would like to suppress a push notification that gets received. I would also like to be able to group similar notifications together so they do not clutter up the list. Sorry if these can already be done -- it looked like in order to implement these, I would need to write a custom BroadcastReceiver? And I don't think I can with the ANE currently.

App crash/closes in some Android devices on start

Hi, we have received errors from android developer console.

captura de pantalla 2016-01-22 a las 12 05 07 1

java.lang.RuntimeException: Unable to start receiver com.parse.ParseBroadcastReceiver: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context com.parse.ParsePlugins$Android.applicationContext()' on a null object reference
    at android.app.ActivityThread.handleReceiver(ActivityThread.java:2750)
    at android.app.ActivityThread.access$1800(ActivityThread.java:157)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1433)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:148)
    at android.app.ActivityThread.main(ActivityThread.java:5525)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context com.parse.ParsePlugins$Android.applicationContext()' on a null object reference
    at com.parse.Parse.checkContext(Parse.java:449)
    at com.parse.Parse.getApplicationContext(Parse.java:279)
    at com.parse.ManifestInfo.getContext(ManifestInfo.java:319)
    at com.parse.ManifestInfo.getPackageManager(ManifestInfo.java:323)
    at com.parse.ManifestInfo.getPackageInfo(ManifestInfo.java:349)
    at com.parse.ManifestInfo.isGooglePlayServicesAvailable(ManifestInfo.java:464)
    at com.parse.ManifestInfo.getPushType(ManifestInfo.java:199)
    at com.parse.PushService.startServiceIfRequired(PushService.java:191)
    at com.parse.ParseBroadcastReceiver.onReceive(ParseBroadcastReceiver.java:27)
    at android.app.ActivityThread.handleReceiver(ActivityThread.java:2743)
    ... 8 more

please check here error

Build with FlashBuilder 4.7 window (build ios)

Error occurred while packaging the application:


Undefined symbols for architecture arm64:

  "_BFTaskMultipleExceptionsException", referenced from:

      ___81+[PFObject(Private) _deepSaveAsyncChildrenOfObject:withCurrentUser:sessionToken:]_block_invoke218 in Parse(PFObject.o)

  "_OBJC_CLASS_$_BFTaskCompletionSource", referenced from:

      objc-class-ref in Parse(PFAsyncTaskQueue.o)

      objc-class-ref in Parse(PFURLSessionDataTaskDelegate.o)

      objc-class-ref in Parse(PFProductsRequestHandler.o)

      objc-class-ref in Parse(PFOfflineStore.o)

      objc-class-ref in Parse(PFEventuallyQueue.o)

      objc-class-ref in Parse(PFSQLiteDatabase.o)

      objc-class-ref in Parse(PFFileController.o)

      ...

  "_kBFMultipleErrorsError", referenced from:

      ___63-[PFObjectBatchController deleteObjectsAsync:withSessionToken:]_block_invoke100 in Parse(PFObjectBatchController.o)

  "_OBJC_CLASS_$_BFExecutor", referenced from:

      objc-class-ref in Parse(PFCommandURLRequestConstructor.o)

      objc-class-ref in Parse(PFUserController.o)

      objc-class-ref in Parse(PFCommandCache.o)

      objc-class-ref in Parse(PFUserAuthenticationController.o)

      objc-class-ref in Parse(ParseManager.o)

      objc-class-ref in Parse(PFObjectController.o)

      objc-class-ref in Parse(PFOfflineQueryLogic.o)

      ...

  "_BFTaskErrorDomain", referenced from:

      ___63-[PFObjectBatchController deleteObjectsAsync:withSessionToken:]_block_invoke100 in Parse(PFObjectBatchController.o)

  "_OBJC_CLASS_$_BFCancellationTokenSource", referenced from:

      objc-class-ref in Parse(PFQuery.o)

      objc-class-ref in Parse(PFFile.o)

  "_OBJC_CLASS_$_BFTask", referenced from:

      objc-class-ref in Parse(PFCommandURLRequestConstructor.o)

      objc-class-ref in Parse(PFUserController.o)

      objc-class-ref in Parse(PFAsyncTaskQueue.o)

      objc-class-ref in Parse(PFCommandCache.o)

      objc-class-ref in Parse(PFUserAuthenticationController.o)

      objc-class-ref in Parse(ParseManager.o)

      objc-class-ref in Parse(PFObjectController.o)

      ...

ld: symbol(s) not found for architecture arm64

Undefined symbols for architecture armv7:

  "_BFTaskMultipleExceptionsException", referenced from:

      ___81+[PFObject(Private) _deepSaveAsyncChildrenOfObject:withCurrentUser:sessionToken:]_block_invoke218 in Parse(PFObject.o)

  "_OBJC_CLASS_$_BFTaskCompletionSource", referenced from:

      objc-class-ref in Parse(PFAsyncTaskQueue.o)

      objc-class-ref in Parse(PFEventuallyQueue.o)

      objc-class-ref in Parse(PFOfflineStore.o)

      objc-class-ref in Parse(PFProductsRequestHandler.o)

      objc-class-ref in Parse(PFURLSessionDataTaskDelegate.o)

      objc-class-ref in Parse(PFFileController.o)

      objc-class-ref in Parse(PFSQLiteDatabase.o)

      ...

  "_kBFMultipleErrorsError", referenced from:

      ___63-[PFObjectBatchController deleteObjectsAsync:withSessionToken:]_block_invoke100 in Parse(PFObjectBatchController.o)

  "_OBJC_CLASS_$_BFExecutor", referenced from:

      objc-class-ref in Parse(PFCommandURLRequestConstructor.o)

      objc-class-ref in Parse(PFEventuallyQueue.o)

      objc-class-ref in Parse(PFCloudCodeController.o)

      objc-class-ref in Parse(PFURLSessionCommandRunner.o)

      objc-class-ref in Parse(PFUserDefaultsPersistenceGroup.o)

      objc-class-ref in Parse(PFPinningObjectStore.o)

      objc-class-ref in Parse(PFPersistenceController.o)

      ...

  "_BFTaskErrorDomain", referenced from:

      ___63-[PFObjectBatchController deleteObjectsAsync:withSessionToken:]_block_invoke100 in Parse(PFObjectBatchController.o)

  "_OBJC_CLASS_$_BFCancellationTokenSource", referenced from:

      objc-class-ref in Parse(PFQuery.o)

      objc-class-ref in Parse(PFFile.o)

  "_OBJC_CLASS_$_BFTask", referenced from:

      objc-class-ref in Parse(PFCommandURLRequestConstructor.o)

      objc-class-ref in Parse(PFAsyncTaskQueue.o)

      objc-class-ref in Parse(PFCachedQueryController.o)

      objc-class-ref in Parse(PFTaskQueue.o)

      objc-class-ref in Parse(PFEventuallyQueue.o)

      objc-class-ref in Parse(PFCloudCodeController.o)

      objc-class-ref in Parse(PFURLSessionCommandRunner.o)

      ...

ld: symbol(s) not found for architecture armv7

Compilation failed while executing : ld64

Bolts framework interferes with another Facebook ANE

Hello,

I am in an urgent need of support with the following issue:
I have a game that integrates Milkman's GoViral ANE for Facebook.
I have just integrated your ANE for Parse in order to integrate Push Notifications from there.

On Android all works like a charm but when I build for iOS I get the following error:
img_23092015_172832

I have seen that the Bolts.ane that I have included could overlap with the facebook ANE so you have separated these frameworks so they can be removed if a problem like that appears.

So I have commented the Bolts.ane hoping this would solve the issue because all needed items are already in the Milkman's GoViral one. Unfortunately that didn't work also and I get the following error:
img_23092015_172701

I have searched in google and I have seen that another user in stackoverflow has solved this (in a native project) by adding only parse and facebook libs and then adding this piece of code:
NSString *const BFTaskMultipleExceptionsException = @"BFMultipleExceptionsException";
in the AppDelegate.m

I cannot do that obviously but is it possible that you can help me with this issue. I really need to release the game today and this is the last piece that doesn't work. Please advice me on how to proceed.

Push Open

image

After I open the notification from my app, Push Open on Parse no update the status, only happen on ios.

app crashes/closes if notification received whilst open on iOS

I've built my app for iOS and android.
Android's fine and behaves as expected but on iOS if the app's open when it receives a PN from Parse then the app crashes/closes.
I've tested on an iPhone 4S, iOS 8.3 and an iPhone 5s, iOS 8.4.1. Same thing happens on both.
If I receive a PN from another source (i.e. facebook) when the app's open it's fine - the PN slides in over the top of the app, but as soon as it gets one registered to itself it bombs out.
It may be that I'm missing something but have gone through the TestParse example and am pretty sure it's set up as should be - also as I say it works fine on regitsering the device/installation and receiving PN's from APN - it's only if the app's open that it crashes.
Any ideas?

Thanks

Compile issue

screen shot 2015-08-06 at 4 08 00 pm

I got this error message when I compile to ios, please check.

Add customisable server URL

Adding the server url to configuration to set the Parse SDK to communicate with a custom install of the Parse server.

Notification-event not posted when receiving push on iOS.

When receiving a push-notificaiton on iOS the NOTIFICATION-event is not fired.
The FOREGROUND_NOTIFICATION / BACKGROUND_NOTIFICATION and NOTIFICATION_SELECTED-events are fired though, but it would be nice to be able to implement using the same events on both iOS and Android.

Parse Installation

I try to use your sample code to build the app, but after run the app, the installation didn't add into Parse Installation, can you check on this

Class Not Found exception com.parse.PushBroadcastReciever - Please Update Guide / Docs regarding Android Build Tools

please update the getting started guide and docs to include the step to update the android build tools for AIR to a newer version. Failure to update the tools results in a class not found exception. Here is the link to you (great) guide for doing so:

http://airnativeextensions.com/knowledgebase/tutorial/5

you probably need to add this in as a generic step for all you Android ANE's (cause it really helps anyone with ANE issues )

Build problem for device

All I did so far was initialize core and parse en traced Parse.isSupported.

This works OK on the simulator (although I do have to quit the simulator every time before starting a debug session, otherwise an error dialog flashes by and the app won't start).

When I try to debug on a device however, the builder says:
Error occurred while packaging the application:

ld: library not found for -lgcc_s.1
ld: library not found for -lSystem.B
Compilation failed while executing : ld64

What am I missing?

Parse Notifications Enabled

Property notificationsEnabled not found on com.distriqt.extension.parse.Parse and there is no default value

I got this error, please check

Duplicate symbol errors

When I try to build my app with the parse ane (inkluding the bolts and core ane) I get the following errors:
error

What am I missing?

How to disable the alert-popup.

How can I prevent the alert box showing up on iOS when receiving a push notification?
I want to handle the notification myself.

Add access to the deviceToken

Does this work with Push Notifications Extension
com.distriqt.extension.pushnotifications.PushNotifications

I have try to put both extension together, Push Notifications Extension no working, here is the trace

[trace] PN Supported: true
[trace] PN Version: 2.7.iOS.3.2
[trace] Parse Supported: true
[trace] Parse Version: 1.8.iOS.1.4
[trace] Parse Notifications Enabled: true
[trace] ACTIVATE
[trace] parse:registering ::
[trace] parse:register:success
[trace] ============= SUBSCRIPTIONS ==================
[trace] CHANNEL:: test_1
[trace] CHANNEL:: test_2
[trace] ==============================================
[trace] parse:register:success
[trace] ============= SUBSCRIPTIONS ==================
[trace] CHANNEL:: test_1
[trace] CHANNEL:: test_2
[trace] ==============================================

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.