Comments (8)
Thanks, @marenovakovic. I'll await those verbose logs. They will tell us exactly where the evaluation is failing.
Between tests, can you be sure to follow these steps to ensure it's a totally clean test? Sorry for the extra steps but it really does ensure that everything is working as expected.
Long tap app icon > App Info > Force Stop > OK > Storage & Cache > Clear Storage > OK > set your device to es
> launch the app and proceed with testing
These instructions will ensure that any en
interactions are downloaded in es
, which is one important thing that we need to control for.
Thanks!
from apptentive-android.
Thank you. This is very helpful. Like you said, I believe you are actually seeing two separate issues -- so let's work through one at a time. The good news is that neither is that crazy!
Would you be open to scheduling a dev call to work through these? It could be easier to resolve on the phone.
If so, please reach out to [email protected] and we'll get one scheduled as soon as possible. Don't worry. Our support email has real people responding throughout the day (Pacific Time) and we'll expedite this!
from apptentive-android.
Hi @marenovakovic. Great question. We do support translations, so happy to look into this for you.
This may be related to a setting in your Apptentive Dashboard. Can you send me the Apptentive app ID that you're using to test? It can be found in the URL from your Apptentive Dashboard. In the example URL below, 5e8f7c640f4166143f000079 is the app ID
https://be.apptentive.com/apps/5e8f7c640f4166143f000079/dashboard
Separately, would you be able to turn on verbose logging for the Spanish test? We'd be able to see more details about exactly what is causing it to be evaluated false.
Thanks!
from apptentive-android.
@CaseyApptentive Thank you for quick response! We may have some internal problem and I will update the issue shortly.
from apptentive-android.
@CaseyApptentive No I don't think that we do have internal issue. We have simple criteria for testing love dialog, 3 launches and one other action.
When criteria is met in Spanish Apptentive stops sending events all altogether until I change language to English and relaunch the app. I will post verbose logs here.
Also when criteria is met in Spanish and I switch to English Spanish dialog is shown, there is no rule to this, it happens randomly.
from apptentive-android.
@CaseyApptentive Am already running clean builds every time. After dialog shows for the first time I delete the app and install it again for new testing. I will post verbose logs.
from apptentive-android.
Sometimes dialog shows, sometimes it doesn't. But when it does show it's in a wrong language.
What I've found out in logs:
- criteria is being evaluated correctly, in cases it shows.
- when it doesn't show however I see this:
V/Apptentive: [pool-28-thread-2] [PAYLOADS] Unsent payloads count: 21
D/Apptentive: [pool-28-thread-2] [PAYLOADS] Oldest unsent payload is missing a conversation id
Does this tell you anything at all? @CaseyApptentive
from apptentive-android.
+ Parsing Interaction Criteria.
+ LogicalClause of type "$and"
+ LogicalClause of type "$and"
+ ConditionalClause for query: "code_point/local#app#launch_app/invokes/version_code"
Saving payload body to: path.data
{"event":{"nonce":"**xxx**","client_created_at":1.627579489317E9,"client_created_at_utc_offset":7200,"label":"**xxx**"},"session_id":"**xxx**"}
+ ConditionalTest: $gte: BigDecimal(3)
+ LogicalClause of type "$and"
+ LogicalClause of type "$or"
+ LogicalClause of type "$and"
+ ConditionalClause for query: "interactions/xxx/last_invoked_at/total"
+ ConditionalTest: $before: BigDecimal(-604800)
+ LogicalClause of type "$and"
+ ConditionalClause for query: "interactions/xxx/invokes/total"
+ ConditionalTest: $eq: BigDecimal(0)
+ ConditionalClause for query: "code_point/com.apptentive#app#launch/invokes/version_name"
+ ConditionalTest: $gte: BigDecimal(1)
+ ConditionalClause for query: "interactions/xxx/invokes/version_name"
+ ConditionalTest: $eq: BigDecimal(0)
+ Finished parsing Interaction Criteria.
Criteria evaluated => false
Criteria evaluation details:
- $and:
- $and:
- number of invokes for event 'local#app#launch_app' for version code '1339' ('2') is greater than or equal to '3' => false
This is after 5 launches and 3 actions that are supposed to trigger love dialog.
After one more launch and action that should trigger Love Dialog I get this:
- number of invokes for interaction 'xxx' for version name '3.8.0' ('0') greater than '0' => false
One more launch and Love Dialog triggering action and dialog shows in English and logs are:
- $and:
- $and:
- number of invokes for event 'local#app#launch_app' for version code '1339' ('3') is greater than or equal to '3' => true
- $or:
- last time interaction 'x' was invoked ('null') before date '1.626975635597E9' => false
- number of invokes for interaction 'x' ('0') equal to '0' => true
- number of invokes for event 'com.apptentive#app#launch' for version name '3.8.0' ('7') is greater than or equal to '1' => true
- number of invokes for interaction 'x' for version name '3.8.0' ('0') equal to '0' => true
from apptentive-android.
Related Issues (20)
- 'Files and Media' permission appears in app settings HOT 3
- No Rating dialog pops up after tapping yes on Love Dialog HOT 3
- Event 'com.apptentive#app#launch' for a version is not 0 on fresh install HOT 3
- Apptentive dashboard remains unchanged when App is moved background and events are triggered HOT 1
- Survey does not show with SDK 5.7.1 HOT 5
- Crash with some older versions of com.google.android.play:core dependency HOT 4
- Android 12 non-SDK restrictions reflection is unsupported HOT 6
- Cannot figure out how to configure Apptentive "About" dialog buttons. HOT 3
- Not able to click links in message center's incoming messages body HOT 6
- Buttons in apptentive_about.xml being clipped HOT 3
- Translation issue for Message Center
- App crashes on :- Provider is not registered: interface apptentive.com.android.feedback.dependencyprovider.a HOT 5
- App crashes on :- Provider is not registered: interface apptentive.com.android.feedback.dependencyprovider
- Apptentive Crash: Caused by apptentive.com.android.util.MissingKeyException
- Hide Attachment Icon in Message center HOT 1
- Insecure read of file in using ContentProvider in ApptentiveAttachmentFileProvider
- java.lang.NoSuchMethodError : No interface method requestReviewFlow()
- com.google.android.play:core:1.10.3 warning from Google Play HOT 9
- Not able to get App rate dialog box in Android in lower environments HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apptentive-android.