The number of times a custom event happened is not being updated on my dashboard - branch.io

I've been able to distinguish between the live build and the test build on my Android app. Everything works perfectly on the test version. I can see the live events and when I go and see the number of clicks for an event, that gets updated too. However, on the live build of my app, I can see the live events but the number of clicks is not being updated. All the events still show empty analytics. What could be wrong?

Amruta from Branch.io here:
Based on your description it looks like your App is still using the test key. If your App has both the Live and Test key added to the Manifest, and you have the debug mode enabled, your App will continue using the Test key. You should make sure that your App is using the Live key.
You can ensure that your app is using the Live key by using a Branch link from the Live version of your App. On clicking on the link, the link parameters received in the callback should have the parameter '+clicked_branch_link: true'.
If the parameter 'clicked_branch_link' is set to false it means that your App is still using the test key.
If you still continue to face issues, I would suggest writing to integrations#branch.io and they can help you resolve any issues you are facing.

Related

Not able to submit products for inApp-Purchase in iTunes connect in IOS

Getting this error again and again after adding image and hitting Save button. "Your In-App Purchase information could not be saved. Try again. If the problem persists, contact us."
I don't know why this was rejected as an edit. Anyway:
No, this is not a duplicate. This is about In App Purchases while the question you mentioned is about App status.
I was facing the same problem today, and it seems other people too.
What I tried and didn't work (so please don't put this as a possible answer): 1- I used google chrome + Safari on Mac OS 10.12, no chance. Then I tried private mode (same as delete cookies and history), no chance.
2- I switched to windows 7 computer, chrome + firefox (never used before), no chance.
3- I used Safari on iPad Mini with iOS10, no chance.
4- When posting a new IAP with an attached screenshot image, the save button will load forever and nothing will be saved.
5- I contacted Apple about the problem and gave all details. I am waiting for the solution.
Edit : Finally, it is working again (October 7th, 8am GMT). I don't know wether contacting Apple solved this or it was solved for every one. I just uploaded the screenshot and saved the In App Purchase, and I am able to submit the app for review.
If it still doesn't work for you, just contact Apple support with the link provided in the error message, and be patient (try to work in another thing, drink a coffee, or go to shopping :) )
Eventually today i got the success when i had tried from different system,i used the screenshot from iphone5s simulator in 100% resolution and got the success.
But same-thing,i had also tried before putting up this question.
So that means it might be error from apple server as sometimes it just not works.
PFA for screenshot i used:-
If you are resubmitting (for example, after a previous rejection), it seems like this can be caused by adding additional in app purchases.
Our app binary was rejected, we uploaded a new one and while we were at it we added an additional in app purchase to the submission and some extra text to the app review information. All other in app purchases previously submitted remained "In Review" so we were literally just adding in another to the submission.
We got a 500 Internal Server Error when clicking submit (verified using FireFox dev tools). We tried Safari, Chrome, Firefox on Mac and PC - all up-to-date. Same behaviour.
We tried removing the extra new in-app purchase (and cut down the extra review text a little) from the submission and it immediately went through without a hitch. YMMV, but worth checking.

Liveview shows no events

After creating a branch link and using it to install the app, then repeatedly tapping on the link again - that causes the app to re-open I am expecting to see events (install, open, referred session) in Dashboard > LiveView but there are no events recorded there at all.
Is there something I am missing that I need to configure to see events in LiveView?
The marketing view also only shows clicks and nothing against Installs or Re-opens?
Alex from Branch.io here: what you are doing should work as you describe, so there is probably some sort of configuration issue. Some things you can check:
Are you using the same Branch key inside your app as was used to generate the link(s)?
Try enabling debug mode to make sure the system isn't throwing out your events as fraudulent
The Marketing view sometimes has a delay, but the Live View should be at most 10-15 seconds behind. Are you seeing new data in the Clicks tab, but just not the Events tab?
Feel free to submit a ticket with additional details, so that we can help debug from the back end!

Passbook is not opening in Safari

I'm currently developing backend for pass generation. I have created sample pass using all guidelines but it doesn't open up on Iphone. Is there any way to debug a problem, cause right now Safari is just showing message - "Safari could not download file".
Here is a link with sample pass:
"https://distributor-test.azurewebsites.net/api/v1/pass"
Thanks for any advance!
According to the errors logged in the console, you have more than one field with an ID of "front-primary". Each field must have a unique ID. Fix the names of the field and try again.
If you have a Mac, you can open the output from an iPhone using XCode or the syslog. This helps pinpoint issues with passes.

Verifying toasts using Appium , and get server reaction to button clicks

i'm new to android automation testing and i recently started to work with Appium.
I use it for android native app automation.
I have 2 question -
is there a way to verify toasts?
the latest posts i saw which referred to this issue are from the mid of 2014
and i wanted to know if there's something new in this subject before i will find another tool to run my tests with (as i understand selendroid can verify toasts).
is there a way to catch the http request which my app sends to the server when i'm pressing a button, during the automatic test?
something like a listener which works in the backround and wait for clicks?
tnx
To verify toast messages you can use one of image recognition libraries. For ruby I use RTesseract together with image processor RMgick
Idea is simple:
make toast message to appear
take few screenshots
iterate over taken screenshots and look for text
You may play with image processing, to increase recognition quality.
Here you can find code snippet which I use in my framework: link

How to verify redirection to Google Play Store

Using Robotium, how do I check the redirection to Google Play Store?
Steps:
Click on a link from a listview from the test app.
Verify it redirects to Google Play Store.
I noticed that while Google Play Store is open, my test app is actually open underneath also. (I printed out all the views)
Therefore, I cannot do "assert xyz view from test app does NOT exist".
How do I check the redirection to Google Play?
Is it possible? sort of, unfortunately robotium makes it very hard to do so easily, this is because of the way that robotium tracks what the current activity is, if you was using straight instrumentation it would be as easy as having an intent filter set up before you click the view/perform action that launches the play store, then you can assert that your filter has in fact been hit (which proves that the google play store would in fact be launched if you did not have the filter).
As you are using robotium though, you cannot do this so easily as robotium has already got an intent filter up that matches everything so this means you are going to have to do some horribleness with reflection.
What you will need to do is:
Get Hold of the private member of the instrumentation class called mActivityMonitors, in this list of activity monitors you will find there is one inside of it, this will be robotiums activity monitor, save this somewhere then remove it from the list.
You will then need to add your own it will look something like to test googleplay launches (i suggest reading about Intent filters on the android api documents site)
Instrumentation inst = getInstrumentation();
IntentFilter intentFilter = new IntentFilter(Intent.ACTION_View);
ActivityMonitor monitor = inst.addMonitor(intentFilter, null, true); //true is imporant it blocks the activity from launching so that your test can continue.
assertEquals(0, monitor.getHits());
//do action that fires activity
assertEquals(1, monitor.getHits());
inst.removeMonitor(monitor);
You will now need to readd the activity monitor you removed earlier so that robotium continues to work as expected. I am not on a machine that i can actually test this all on but i have used this technique before.