I have a Universal App with an AdControl to show a banner connected to Microsoft banner; when I work with the test appId and test appUnitId it all works fine, but if I change the appId and appUnitId with the official ones, the response is always "NoAdAvailable"; I also set all type of advertise in app dashboard in PubCenter.
The app is published in Beta.
Firstly ,I suggest you check your official appId and appUnitId because something are ok when you work with test appId and test appUnitId.
If official appId and appUnitId are ok, you can refer to this document and maybe you can fix some errors.
Especially some of the markets is still on going, check if your contry is listed on this page
Related
I cannot sign in with Sandbox tester ID (the fields are not even displayed in Settings-App Store).
I am running Xcode 14.2 and attempting to test on a developer-signed physical device (iOS 16.1.2). Following the steps in Apple documentation ("Setting up StoreKit Testing in Xcode"), I have been able to run tests using using local StoreKit configuration file. All works well. I next wanted to try to use Sandbox Testing. Following the same documentation,
I set up a Sandbox Tester in Apple Store Connect.
I saved a Public Certificate from the storekit configuration file in
the project.
I removed the local StoreKit configuration file from the scheme’s run
options (by setting to "none").
I added the following conditional compilation block to my store
manager:
#if DEBUG
let certificate = "StoreKitTestCertificate"
#else
let certificate = "AppleIncRootCertificate"
#endif
It is my understanding that an option to sign in with the SandBox ID should appear in device's App Store Settings after the first time I attempt to make a purchase when running on the device physically connected to my Mac.
This is not happening. Am I missing a step? One possible mistake I made was placing the (above) conditional compilation block in the wrong place. Can someone recommend the best place for this? The documentation says to paste it in with my receipt validation code. Another suspected oversight might be something else I need to do in Apple Store Connect. Not sure. Any help appreciated!
Addendum - I get this message in the console:
Error enumerating unfinished transactions for first transaction
listener: Error Domain=ASDErrorDomain Code=509 "No active account"
UserInfo={storefront-country-code=USA,
client-environment-type=Sandbox, AMSServerErrorCode=0,
NSLocalizedDescription=No active account}
If locationServicesEnabled() == false, I'm prompting the user to enable their Location Services. The following URL works for 10.0+, redirecting the user to the Settings app and directly to the Location Services screen:
URL(string: "App-Prefs:root=Privacy&path=LOCATION")
However this doesn't work in iOS 11. It opens the Settings app, but doesn't drill down to the Location Services. Anyone knows what's the new URL for iOS 11+?
I am experiencing the same issue since the first beta releases. I've tested a lot of different schemas but none of them worked properly. In the first releases opening schemas would redirect to the home screen but they already fixed that.
Open Location Services:
If this app is for personal use only and you do not plan to submit it to the App Store, then you should be ok to use the following. Otherwise, if you do plan to release your app, Apple will reject it upon review. Code is:
UIApplication.shared.open(URL(string: "App-prefs:LOCATION_SERVICES")!)
My Luis bot app was working fine when I tested in the 2nd week of March 2017. Testing includes -
1) using Luis end point start with "https://westus.api.cognitive.microsoft.com/luis/v2.0/apps/........." in browser and Luis.ai
2) using visual studio code where I provided the LuisDialog with LuisModel attribute having app id and subscription key.
When I today tried to test it again, it is working fine in browser and Luis.ai using luis end point but in NOT in visual studio.Please refer the screenshot. Every time it is giving "An item with the same key has already been added".
I checked the LUIS : An item with the same key has already been added but did not get answer.
I tried to integrate this luis bot app with Azure Bot service. Same error is there also -
"2017-03-12T12:27:17.657 Exception while executing function: Functions.messages. mscorlib: An item with the same key has already been added."
Please help.
Thanks,
Sarnendu
I was keep trying to solve my issue for couple of days to run bot service in azure. Finally I am able to run.
Mainly 2 issues were there -
One is wrong Luis API Host Name in Azure Portal
Another is wrong attribute in Intent.
Correcting the Luis API Host Name-
In Azure portal, I have updated the Luis API End Point to westus.api.cognitive.microsoft.com from api.projectoxford.ai.
Steps to follow - go to 'All Resources' and click on the bot. Now go to Setting Tab and click of Application Setting button. Please refer below screenshot.
Now update the LuisAPI end point key in yellow highlighted area as shown below-
Updating Luis API Host Name
After updating this setting, my bot was not working and throwing same error.
Correcting the Wrong Attribute in Intent :
Later I checked LuisDialog.csx,
[LuisIntent("")] atrtibute was present in one of the Intents other than None Intent. Here [LuisIntent("")] was given in BookHoliday Intent.
Please refer below screenshot -
Wrong attribute in Intent
Both [LuisIntent("")] and [LuisIntent("None")] can be used for None Intent.
I removed [LuisIntent("")] from BookHoliday Intent, it works fine.
It was copy-paste error, I copied None intent and modified None to BookHoliday but did not removed the [LuisIntent("")].
"An item with the same key has already been added"- this issue may also be raised if &q appears more than 1 time in query string as part of Luis App Endpoint url.
Regarding code run issue in visual studio, it looks like VS was not updated. It works after updating.
I'm developing an offline Android app with Genexus Ev3 U9 and when I try the app in the device I see there is no initial synchronization, even when I try to execute a manual sync the app shuts down. The cat log shows that request made to URLs like http://192.168.12.17/MyAppSmartDevicesEnvironment/gxmetadata/MyApp.android.json
worked fine but when the app tries to get this URL http://192.168.12.17/MyAppSmartDevicesEnvironment/rest/MyAppOfflineDatabase?fmt=json&event=gxchecksync returns 404 I tried the same link in my laptop and it's like the requested resource was not created by GeneXus.
What could be wrong?
There are actually a couple of things you might want to check.
When you accessed http://192.168.12.17/MyAppSmartDevicesEnvironment/gxmetadata/MyApp.android.json you got data but that just means that the virtual directory was successfully created. (which is good of course)
Then you need to check if the WCF module is installed correctly, in order to do that you could try to go to http://192.168.12.17/MyAppSmartDevicesEnvironment/MyAppOfflineDatabase.svc/rest or any other service in your KB. That goes straight to the service implementation. (you can check you web.config file in order to see the actual rewriting rules)
If that works it's certainly a URL Rewrite problem like Sandro and Guscarr suggested.
You can download and install the module from here: http://www.iis.net/downloads/microsoft/url-rewrite
Gcastano,
It seems that you're generating to .net, right?
If so, it could be some problem with iis rewrite module.
Anyway you might check gx software requirements...
It seems that REST services cannot be run on your IIS, as Sandro said, try installing URLRewrite.
Further info at http://wiki.genexus.com/commwiki/servlet/wiki?14575,Android%20-%20FAQ%20and%20Common%20Issues
I'm trying to create an App on https://developers.pinterest.com/apps/
The App state is still "in development" and the hint says I need at least 1 more collaborators allthough I already have three.
Furthermore, uploading an image as App Icon causes a JS error in the App Management Page ("Error" and http state 500)
How to get over that obstacles:
Define the app with all necessary settings like devs, testers and an Icon?