Comments (10)
Hi @lumierephoto and thank you for opening this issue.
As far as I see, everything looks good. My advice would be to turn log level to verbose
so that you can see all the logs which our SDK prints. You can adapt your initialisation code to look something like this:
var adjustConfig = new AdjustConfig("APP_TOKEN", AdjustConfig.EnvironmentSandbox);
adjustConfig.setLogLevel(AdjustConfig.LogLevelVerbose);
Adjust.create(adjustConfig);
I run example app on iPhone usually like this:
cordova ios clean && cordova build ios && cordova run ios --device
After running it, you can open Xcode, choose Window --> Device
and check your device's logs. Here's how it looks in my case and notice red selected part which says that install has been tracked.
Let me know if you need any further assistance.
Cheers
from cordova_sdk.
I followed your instructions but I'm not getting any logs in the Windows -> Devices.
Here is my index.js updated with the new line of code:
var app = {
initialize: function() {
this.bindEvents();
},
bindEvents: function() {
document.addEventListener('deviceready', this.onDeviceReady, false);
},
onDeviceReady: function() {
app.receivedEvent('deviceready');
// Adjust SDK Configure
var adjustConfig = new AdjustConfig("APP_TOKEN", AdjustConfig.EnvironmentSandbox);
adjustConfig.setLogLevel(AdjustConfig.LogLevelVerbose);
Adjust.create(adjustConfig);
},
receivedEvent: function(id) {
var parentElement = document.getElementById(id);
var listeningElement = parentElement.querySelector('.listening');
var receivedElement = parentElement.querySelector('.received');
listeningElement.setAttribute('style', 'display:none;');
receivedElement.setAttribute('style', 'display:block;');
console.log('Received Event: ' + id);
}
};
Where are you putting this code in your app demo?
var adjustConfig = new AdjustConfig("APP_TOKEN", AdjustConfig.EnvironmentSandbox);
adjustConfig.setLogLevel(AdjustConfig.LogLevelVerbose);
Adjust.create(adjustConfig);
from cordova_sdk.
Also, do you have a link to your AdjustDemo Cordova project so I can see how you did it?
from cordova_sdk.
This is the only log that I get in Xcode for the SDK:
2016-04-01 13:43:42.459 Solitaire[1667:73436] [CDVTimer][adjust] 2.776980ms
from cordova_sdk.
Sure, example app is not something which is such a big secret, we're just not keeping it at the moment in the repository due to its big size. You can download it temporary from here: [no longer valid link]
Let me know once you have downloaded it.
from cordova_sdk.
Thanks, I downloaded it.
from cordova_sdk.
Great. Just please instead of string I wrote ({YourAppToken}
) write actually your app token. BTW, I have edited your upper posts with code to hide your actual app token which you pasted.
from cordova_sdk.
@lumierephoto Any update on this issue?
from cordova_sdk.
Closing the issue due to inactivity.
@lumierephoto Feel free to reopen the issue if you still face this issue.
from cordova_sdk.
[no longer valid link]
I am facing same issue, [CDVTimer][adjust] 0.084996ms
Could you please help me here, because of this, creat events are not working
from cordova_sdk.
Related Issues (20)
- iOS crashing on launch with: "-[UIDevice adjTrackingEnabled]: unrecognized selector sent to instance 0x600000e8d480" HOT 6
- Ad transparancy popup background is coming as black instead of app screen in ionic Cordova based application HOT 1
- CordovaError: Failed to fetch plugin https://github.com/CesarBalzer/Cordova-Plugin-BTPrinter.git HOT 1
- [ERROR] An error occurred while running subprocess cordova. HOT 1
- Cordova Sdk integration - adjust HOT 2
- Ionic 3 issue - adjustConfig.hasConversionValueUpdatedCallbackListener is not a function HOT 11
- Capacitor instructions HOT 23
- Error on Adjust.create() HOT 6
- Update Android SDK to Version 4.28.9 HOT 2
- Error on IOs : +[NSString adjJoin:]: unrecognized selector sent to class 0x7fff86500530 HOT 3
- Enabling iOS frameworks HOT 1
- Adjust.create() crashes the App with unrecognized selector sent to class HOT 4
- Build error on mac M1 with the simulator HOT 3
- Installation fails and then XCode build fails HOT 7
- Cannot get access to Adid() function - (CDVPlugin class AdjustCordova (pluginName: adjust) does not exist.) HOT 2
- Play Referrer installs - attribution problem HOT 5
- Installation tutorial incomplete
- sdk no more compatible with Google Play Store HOT 5
- TypeError: adjustConfig.hasSkad4ConversionValueUpdatedCallbackListener is not a function HOT 4
- Help me ,God bless you
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 cordova_sdk.