Giter VIP home page Giter VIP logo

chabok-demo-android's People

Contributors

amir-yaghoubi avatar zahrashakib avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chabok-demo-android's Issues

Chabok Status not update

chabok status sometimes only set CONNECTING and not change ,and on android 8.0.0 it has near 14sec delay to receive push
v2.12.1

نمایش اعلان

در تست اندروید ورژن 8 در گوشی mate 10 lite اعلان نمایش داده نمی شود

دریافت پیام هنگامی که اپلیکیشن باز است.

با سلام در بخش ارسال پیام یک دکمه هستش که تایین میکنه وقتی که اپ روی گوشی کاربر باز است نوتیفیکیشن ارسال شود یا نه که با زدن این دکمه و ارسال پیام پیام در هنگام باز بودن اپ فرستاده نمیشود..

Internal Server Error

com.adpdigital.push.AdpPushClient: Cannot save device, Reason: Internal Server Error
org.apache.http.client.HttpResponseException: Internal Server Error
at a.f.sendResponseMessage(SourceFile:440)
at a.e.run(SourceFile:2078)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:784)

Could not find com.adpdigital.push:chabok-lib:2.12.1

E/com.adpdigital.push.AdpPushClient: Cannot save device, Reason: UnknownHostException exception

Hi There,

I've Did Done Everything In Your Android Documentation For Push Notification. But When Running The Application , I Face This Problem In LogCat :

E/com.adpdigital.push.AdpPushClient: Cannot save device, Reason: UnknownHostException exception: Unable to resolve host "com.parsdigit.helsa.push.adpdigital.com": No address associated with hostname
java.io.IOException: UnknownHostException exception: Unable to resolve host "com.xxx.xxx.push.adpdigital.com": No address associated with hostname

Null Pointer Exception

Fatal Exception: java.lang.NullPointerException
       at com.adpdigital.push.PushService$b.getService(SourceFile:1409)
       at com.adpdigital.push.c.onServiceConnected(SourceFile:745)
       at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1131)
       at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1148)
       at android.os.Handler.handleCallback(Handler.java:800)
       at android.os.Handler.dispatchMessage(Handler.java:100)
       at android.os.Looper.loop(Looper.java:194)
       at android.app.ActivityThread.main(ActivityThread.java:5371)
       at java.lang.reflect.Method.invokeNative(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:525)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
       at dalvik.system.NativeStart.main(NativeStart.java)

اولین نوتیفیکیشن

با سلام میخواستم بپرسم میشه یه کاری کرد که نوتیفیکیشن به چابک خوش آمدید یا نیاد یا ادیت بشه؟

W/com.adpdigital.push.GcmMessageHandler: Don't notify GCM when app is foreground!

با وجود subscribe‌ کردن کانال هنوز نمیتونم پیام درون برنامه ای رو در وقت باز بودن برنامه دریافت کنم و وقتی لاگ رو میبینم این هست:
W/com.adpdigital.push.GcmMessageHandler: Don't notify GCM when app is foreground!
مشکل از کجاست؟

مشکل اضافه کردن dependencies

من طبق مستندات این‌ها رو به dependencies اضافه کردم:

    compile 'me.leolin:ShortcutBadger:1.1.18@aar'
    compile 'com.adpdigital.push:chabok-lib-2.12.1'
    compile 'com.adpdigital.push:chabok-lib-geo-2.12.1'

پکیج لوکیشن هم از قبلا داشتم توی پروژه

اما در زمان sync این خطا رو میده:

Unable to resolve dependency for ':app@googleplayDebug/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@googleplayDebugAndroidTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@googleplayDebugUnitTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@googleplayRelease/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@googleplayReleaseUnitTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@myketDebug/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@myketDebugAndroidTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@myketDebugUnitTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@myketRelease/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@myketReleaseUnitTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@iranappsDebug/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@iranappsDebugAndroidTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@iranappsDebugUnitTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@iranappsRelease/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@iranappsReleaseUnitTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@kandooDebug/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@kandooDebugAndroidTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@kandooDebugUnitTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@kandooRelease/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@kandooReleaseUnitTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@hamsaaDebug/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@hamsaaDebugAndroidTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@hamsaaDebugUnitTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@hamsaaRelease/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@hamsaaReleaseUnitTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@bazaarDebug/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@bazaarDebugAndroidTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@bazaarDebugUnitTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@bazaarRelease/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@bazaarReleaseUnitTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@parshubDebug/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@parshubDebugAndroidTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@parshubDebugUnitTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@parshubRelease/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details


Unable to resolve dependency for ':app@parshubReleaseUnitTest/compileClasspath': Could not resolve com.adpdigital.push:chabok-lib-2.12.1:.
Open File
Show Details

آیا چابک از تگ کلید/مقدار پشتیبانی می‌کند؟

سلام
وقت بخیر
آیا امکان ست کردن تگ به صورت

("key","value")

وجود نداره؟

اگر امکانش نیست آیا راه حل پیشنهادی یا جایگزین دارین پیشنهاد بدید؟

:برای مثال ما میخوایم ست کنیم

key1 : 1111
key2 : [1,2,3]
key3 : [123,234,145]
key4: "android-8"

بعد مثلا برای پوش بگیم کسی که یا کسانی که

key1 = 111

یا

key2 = [1,3]

بهشون پوش بره

امیدوارم تونسته باشم منظورم رو برسونم

با تشکر

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.