Comments (11)
PR has been merged. Can you guys give latest SDK version and latest TypeScript typings version a shot?
from cordova_sdk.
Hi @afelipelli
Thanks for reporting this. We'll check this on our end and keep you posted.
from cordova_sdk.
I implemented the SDK with the latest plugin and Ionic wrapper:
ionic cordova plugin add com.adjust.sdk npm install @ionic-native/adjust
which installed these:
"com.adjust.sdk": "^4.29.0", "@ionic-native/adjust": "^5.36.0",
With those in place, the attribution wasn't working. After debugging, I noticed this error in the logs:
TypeError: adjustConfig.hasConversionValueUpdatedCallbackListener is not a function That was when I called adjust.create()
Indeed, this function didn't exist and I couldn't make it work, so I downgraded to versions I had used before:
"com.adjust.sdk": "^4.23.0", "@ionic-native/adjust": "^5.29.0",
And that worked. So apparently, there's something wrong with the latest versions. Maybe the combination of these two versions don't work? Notice I don't call this hasConversionValueUpdatedCallbackListener in my code.
Thanks, Alex
same .
from cordova_sdk.
@afelipelli @uerceg when I moved back "com.adjust.sdk": "^4.23.0", "@ionic-native/adjust": "^5.29.0" it worked fine for android but didnt work for IOS. Can any of you help me with this
from cordova_sdk.
Same problem. Have any solution?
from cordova_sdk.
@afelipelli @uerceg Where can I find the documentation for ionic and capacitor implementation? Facing an issue with ios builds
from cordova_sdk.
Hey guys,
Sorry for delay on this one. I think I see where the issue is. JavaScript method which is mentioned in the error message (https://github.com/adjust/cordova_sdk/blob/master/www/adjust_config.js#L290-L292) is not added to ionic-native
typings (missing from this section https://github.com/danielsogl/awesome-cordova-plugins/blob/master/src/%40awesome-cordova-plugins/plugins/adjust/index.ts#L220-L242).
We will submit PR to awesome-cordova-plugins
repo with the fix which, once merged should hopefully make this error disappear. Will keep you posted.
from cordova_sdk.
PR submitted.
from cordova_sdk.
Hi guys any new ?
Which Sdk version works best?
from cordova_sdk.
Hey @Aviho-M,
This is already released in awesome-cordova-plugins
repo. If you are still facing the same issue, it might be because you are still trying to use TypeScript typings from deprecated ionic-native
repo instead from awesome-cordova-plugins
. Give this a shot:
- Check if inside of your
APP_DIRECTORY/node_modules
you have@ionic-native/adjust
folder. If you do, that means that you have install fromionic-native
repo. Remove it withnpm uninstall @ionic-native/adjust
. - Install Adjust TypeScript typings from
awesome-cordova-plugins
repository withnpm install @awesome-cordova-plugins/adjust
.
In addition to that, make sure to change the import statement in your app code to redirect to new repo. So replace:
import { Adjust, AdjustConfig, AdjustEnvironment, AdjustLogLevel } from '@ionic-native/adjust/ngx';
with:
import { Adjust, AdjustConfig, AdjustEnvironment, AdjustLogLevel } from '@awesome-cordova-plugins/adjust/ngx';
After this, things should hopefully work. Let us know if this worked for you.
from cordova_sdk.
In case issue still persists for you, feel free to comment / reopen. Cheers.
from cordova_sdk.
Related Issues (20)
- requestTrackingAuthorizationWithCompletionHandler not opening any prompt. HOT 1
- Update the iOS SDK to 4.28.0 ASAP HOT 5
- 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
- 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
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.